summaryrefslogtreecommitdiff
path: root/src/or/hs_circuit.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-05-30 16:11:59 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit713eb08bc9582b49e8073122fb68c3fac5bae188 (patch)
treefe8544abeb5fc6388798b3f15494023522157824 /src/or/hs_circuit.h
parent1b403a83821d86ac358e49ae24bd1284ed0dcfab (diff)
downloadtor-713eb08bc9582b49e8073122fb68c3fac5bae188.tar.gz
tor-713eb08bc9582b49e8073122fb68c3fac5bae188.zip
prop224: Add service rendezvous circuit relaunch
This introduces a callback to relaunch a service rendezvous circuit when a previous one failed to build or expired. It unifies the legacy function rend_service_relaunch_rendezvous() with one for specific to prop224. There is now only one entry point for that which is hs_circ_retry_service_rendezvous_point() supporting both legacy and prop224 circuits. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_circuit.h')
-rw-r--r--src/or/hs_circuit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_circuit.h b/src/or/hs_circuit.h
index ca8f1b2f6a..8301dea227 100644
--- a/src/or/hs_circuit.h
+++ b/src/or/hs_circuit.h
@@ -28,6 +28,7 @@ int hs_circ_launch_intro_point(hs_service_t *service,
int hs_circ_launch_rendezvous_point(const hs_service_t *service,
const curve25519_public_key_t *onion_key,
const uint8_t *rendezvous_cookie);
+void hs_circ_retry_service_rendezvous_point(origin_circuit_t *circ);
/* Cell API. */
int hs_circ_handle_intro_established(const hs_service_t *service,