diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-12 12:24:26 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-09-12 21:34:26 +0300 |
commit | 6b4eace248272f4defae0f6cc9933588b1b498b3 (patch) | |
tree | 9e1ac44754af860125953f7fe8cac267e59fd335 /src/test/test_entryconn.c | |
parent | d71a00e91f3921f6bdf160811313e7b32f890b6c (diff) | |
download | tor-6b4eace248272f4defae0f6cc9933588b1b498b3.tar.gz tor-6b4eace248272f4defae0f6cc9933588b1b498b3.zip |
hs-v3: Stall SOCKS connection when no live consensus available
Fixes #23481
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_entryconn.c')
-rw-r--r-- | src/test/test_entryconn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_entryconn.c b/src/test/test_entryconn.c index 9fe3db26f7..2d28f1d428 100644 --- a/src/test/test_entryconn.c +++ b/src/test/test_entryconn.c @@ -815,7 +815,7 @@ test_entryconn_rewrite_onion_v3(void *arg) tt_int_op(retval, OP_EQ, 0); /* Check connection state after rewrite */ - tt_int_op(ENTRY_TO_CONN(conn)->state, OP_EQ, AP_CONN_STATE_RENDDESC_WAIT); + tt_int_op(ENTRY_TO_CONN(conn)->state, OP_EQ, AP_CONN_STATE_CIRCUIT_WAIT); /* check that the address got rewritten */ tt_str_op(conn->socks_request->address, OP_EQ, "p3xnclpu4mu22dwaurjtsybyqk4xfjmcfz6z62yl24uwmhjatiwnlnad"); |