From: Mike Perry Date: Thu, 14 Sep 2023 19:16:06 +0000 (+0000) Subject: Bug 40858: Cache sendme_inc to avoid purging intro points. X-Git-Tag: tor-0.4.7.15~8^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee0797bf0e4a01bcd45a4128e77815a3d780abfe;p=thirdparty%2Ftor.git Bug 40858: Cache sendme_inc to avoid purging intro points. Bug found and fixed by @hyunsoo.kim676. --- diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c index 1caa5ab64a..7d9fbe546a 100644 --- a/src/feature/hs/hs_service.c +++ b/src/feature/hs/hs_service.c @@ -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;