diff options
author | David Goulet <dgoulet@torproject.org> | 2022-02-03 19:04:34 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2022-02-22 19:28:34 +0000 |
commit | 0eaf0e8a31979621f8a2cfb1671cc4f02fe92b87 (patch) | |
tree | 6357e0e2ce8a58cc4eca8e05b3423cef60f385d2 /src/feature/nodelist | |
parent | 89f5eeefb83231c6eb7b8a857b173a9f962f3c0d (diff) | |
download | tor-0eaf0e8a31979621f8a2cfb1671cc4f02fe92b87.tar.gz tor-0eaf0e8a31979621f8a2cfb1671cc4f02fe92b87.zip |
hs: Republish onion descriptor on sendme_inc change
Republishing is necessary to ensure that clients connect using the correct
sendme_inc upon any change. Additionally, introduction points must be
re-chosen, so that cached descriptors with old values are not usable.
We do not expect to change sendme_inc, unless cell size or TLS record size
changes, so this should be rare.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/nodelist')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index 77e2b547f5..41fd312295 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -1704,6 +1704,7 @@ notify_after_networkstatus_changes(void) router_new_consensus_params(c); congestion_control_new_consensus_params(c); flow_control_new_consensus_params(c); + hs_service_new_consensus_params(c); /* Maintenance of our L2 guard list */ maintain_layer2_guards(); |