diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-21 13:57:10 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | b91693f7c3099c691d0e5dbb60ac55df14b7bd68 (patch) | |
tree | 9bdff12a287841022fe79830276c8c6a087fd38f /src/or/hs_client.c | |
parent | 6eb125d14bf69e9dad427fe4b1005477177acc04 (diff) | |
download | tor-b91693f7c3099c691d0e5dbb60ac55df14b7bd68.tar.gz tor-b91693f7c3099c691d0e5dbb60ac55df14b7bd68.zip |
prop224: Build ESTABLISH_RENDEZVOUS cell and logic
Add a function to build the cell.
Add a the logic to send the cell when the rendezvous circuit opens.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_client.c')
-rw-r--r-- | src/or/hs_client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/hs_client.c b/src/or/hs_client.c index b06f3d9355..8865bb5fb5 100644 --- a/src/or/hs_client.c +++ b/src/or/hs_client.c @@ -381,7 +381,9 @@ client_rendezvous_circ_has_opened(origin_circuit_t *circ) safe_str_client( extend_info_describe(circ->build_state->chosen_exit))); - /* XXX Send ESTABLISH REND cell. */ + /* Ignore returned value, nothing we can really do. On failure, the circuit + * will be marked for close. */ + hs_circ_send_establish_rendezvous(circ); } /* ========== */ |