]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Bug 40858: Cache sendme_inc to avoid purging intro points.
authorMike Perry <mikeperry-git@torproject.org>
Thu, 14 Sep 2023 19:16:06 +0000 (19:16 +0000)
committerMike Perry <mikeperry-git@torproject.org>
Thu, 14 Sep 2023 19:16:06 +0000 (19:16 +0000)
Bug found and fixed by @hyunsoo.kim676.

src/feature/hs/hs_service.c

index 1caa5ab64a615c105e6695f2a029322c105efc1d..7d9fbe546a797ece3893dfdbb8c16e58e9a0f73d 100644 (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;