aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hs/hs_client.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-09-19 09:55:57 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-09-19 11:11:57 -0400
commitcb81a69f90c82c2c2a5b41b80eadf50be5e8193d (patch)
treeca86fb5945dc10092a3a6727a6f5617b39ae2b44 /src/feature/hs/hs_client.c
parentf4f809fe3dc45ce72b4ccfb891eb715a8b330675 (diff)
downloadtor-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.c')
-rw-r--r--src/feature/hs/hs_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/hs/hs_client.c b/src/feature/hs/hs_client.c
index fa7c78c8f9..563f6c6b3b 100644
--- a/src/feature/hs/hs_client.c
+++ b/src/feature/hs/hs_client.c
@@ -247,7 +247,7 @@ close_all_socks_conns_waiting_for_desc(const ed25519_public_key_t *identity_pk,
/* Find all pending SOCKS connection waiting for a descriptor and retry them
* all. This is called when the directory information changed. */
-static void
+STATIC void
retry_all_socks_conn_waiting_for_desc(void)
{
smartlist_t *conns =