diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-21 14:20:37 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | 89eb96c19a091b1e892e4a7c05f06e188131aed0 (patch) | |
tree | 8e0996bcba37a51aeab4ad1dfd01e72320001731 /src/or/rendcommon.c | |
parent | b91693f7c3099c691d0e5dbb60ac55df14b7bd68 (diff) | |
download | tor-89eb96c19a091b1e892e4a7c05f06e188131aed0.tar.gz tor-89eb96c19a091b1e892e4a7c05f06e188131aed0.zip |
prop224: Handle client RENDEZVOUS_ESTABLISHED cell
Client now handles a RENDEZVOUS_ESTABLISHED cell when it arrives on the
rendezvous circuit. This new function applies for both the legacy system and
prop224.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r-- | src/or/rendcommon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c index a6b59881ad..7e5ba6b6f6 100644 --- a/src/or/rendcommon.c +++ b/src/or/rendcommon.c @@ -19,6 +19,7 @@ #include "rendcommon.h" #include "rendmid.h" #include "hs_intropoint.h" +#include "hs_client.h" #include "rendservice.h" #include "rephist.h" #include "router.h" @@ -797,7 +798,7 @@ rend_process_relay_cell(circuit_t *circ, const crypt_path_t *layer_hint, break; case RELAY_COMMAND_RENDEZVOUS_ESTABLISHED: if (origin_circ) - r = rend_client_rendezvous_acked(origin_circ,payload,length); + r = hs_client_receive_rendezvous_acked(origin_circ,payload,length); break; default: tor_fragile_assert(); |