diff options
author | David Goulet <dgoulet@torproject.org> | 2018-09-19 09:55:57 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-09-19 11:11:57 -0400 |
commit | cb81a69f90c82c2c2a5b41b80eadf50be5e8193d (patch) | |
tree | ca86fb5945dc10092a3a6727a6f5617b39ae2b44 /src/feature/hs/hs_client.h | |
parent | f4f809fe3dc45ce72b4ccfb891eb715a8b330675 (diff) | |
download | tor-cb81a69f90c82c2c2a5b41b80eadf50be5e8193d.tar.gz tor-cb81a69f90c82c2c2a5b41b80eadf50be5e8193d.zip |
test: hs-v3 desc has arrived unit test
That unit test makes sure we don't have pending SOCK request if the descriptor
turns out to be unusable.
Part of #27410.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/hs/hs_client.h')
-rw-r--r-- | src/feature/hs/hs_client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/hs/hs_client.h b/src/feature/hs/hs_client.h index 1ba0338dc3..fb4f9e9e9f 100644 --- a/src/feature/hs/hs_client.h +++ b/src/feature/hs/hs_client.h @@ -104,6 +104,8 @@ STATIC int handle_rendezvous2(origin_circuit_t *circ, const uint8_t *payload, MOCK_DECL(STATIC hs_client_fetch_status_t, fetch_v3_desc, (const ed25519_public_key_t *onion_identity_pk)); +STATIC void retry_all_socks_conn_waiting_for_desc(void); + #ifdef TOR_UNIT_TESTS STATIC digest256map_t *get_hs_client_auths_map(void); |