diff options
author | David Goulet <dgoulet@torproject.org> | 2017-10-04 16:22:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-31 12:14:11 -0400 |
commit | 5dbcd48f0ee2f57557f6bcce6ee3ec11a76727e4 (patch) | |
tree | 72f3357325a41bef64b6ed18c5403a530c1155f2 /src/or/hs_client.h | |
parent | 469ee6e6fe0dbc9bb7b3c8ceed8aa7c494fd4ac3 (diff) | |
download | tor-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/hs_client.h')
-rw-r--r-- | src/or/hs_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_client.h b/src/or/hs_client.h index 164accc0e6..2523568ad1 100644 --- a/src/or/hs_client.h +++ b/src/or/hs_client.h @@ -41,6 +41,7 @@ int hs_client_decode_descriptor( int hs_client_any_intro_points_usable(const ed25519_public_key_t *service_pk, const hs_descriptor_t *desc); int hs_client_refetch_hsdesc(const ed25519_public_key_t *identity_pk); +void hs_client_dir_info_changed(void); int hs_client_send_introduce1(origin_circuit_t *intro_circ, origin_circuit_t *rend_circ); |