aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-10-04 16:22:49 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-31 12:14:11 -0400
commit5dbcd48f0ee2f57557f6bcce6ee3ec11a76727e4 (patch)
tree72f3357325a41bef64b6ed18c5403a530c1155f2 /src/or/nodelist.c
parent469ee6e6fe0dbc9bb7b3c8ceed8aa7c494fd4ac3 (diff)
downloadtor-5dbcd48f0ee2f57557f6bcce6ee3ec11a76727e4.tar.gz
tor-5dbcd48f0ee2f57557f6bcce6ee3ec11a76727e4.zip
hs-v3: Attempt descriptor refetch when dirinfo changes
When the directory information changes, callback to the HS client subsystem so it can check if any pending SOCKS connections are waiting for a descriptor. If yes, attempt a refetch for those. Fixes #23762 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index eae74e18b5..fd5a8f0c0d 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -48,6 +48,7 @@
#include "entrynodes.h"
#include "geoip.h"
#include "hs_common.h"
+#include "hs_client.h"
#include "main.h"
#include "microdesc.h"
#include "networkstatus.h"
@@ -1973,6 +1974,7 @@ router_dir_info_changed(void)
need_to_update_have_min_dir_info = 1;
rend_hsdir_routers_changed();
hs_service_dir_info_changed();
+ hs_client_dir_info_changed();
}
/** Return a string describing what we're missing before we have enough