diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2023-09-14 19:16:06 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2023-09-14 19:16:06 +0000 |
commit | ee0797bf0e4a01bcd45a4128e77815a3d780abfe (patch) | |
tree | 913344162415aa04d2466304e213d5f0bedf9956 | |
parent | cf98f4d7b3bd04575e636ec312226f890a34f36f (diff) | |
download | tor-ee0797bf0e4a01bcd45a4128e77815a3d780abfe.tar.gz tor-ee0797bf0e4a01bcd45a4128e77815a3d780abfe.zip |
Bug 40858: Cache sendme_inc to avoid purging intro points.
Bug found and fixed by @hyunsoo.kim676.
-rw-r--r-- | src/feature/hs/hs_service.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |