Bug 40858: Cache sendme_inc to avoid purging intro points.

Bug found and fixed by @hyunsoo.kim676.
This commit is contained in:
Mike Perry 2023-09-14 19:16:06 +00:00
parent cf98f4d7b3
commit ee0797bf0e

View File

@ -1765,6 +1765,7 @@ build_service_desc_encrypted(const hs_service_t *service,
tor_assert(desc);
encrypted = &desc->desc->encrypted_data;
encrypted->sendme_inc = congestion_control_sendme_inc();
encrypted->create2_ntor = 1;
encrypted->single_onion_service = service->config.is_single_onion;