diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-30 16:11:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:34 -0400 |
commit | 713eb08bc9582b49e8073122fb68c3fac5bae188 (patch) | |
tree | fe8544abeb5fc6388798b3f15494023522157824 /src/or/hs_ident.h | |
parent | 1b403a83821d86ac358e49ae24bd1284ed0dcfab (diff) | |
download | tor-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_ident.h')
-rw-r--r-- | src/or/hs_ident.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_ident.h b/src/or/hs_ident.h index ca1fa3d707..a3ebd07da4 100644 --- a/src/or/hs_ident.h +++ b/src/or/hs_ident.h @@ -113,6 +113,7 @@ hs_ident_circuit_t *hs_ident_circuit_new( const ed25519_public_key_t *identity_pk, hs_ident_circuit_type_t circuit_type); void hs_ident_circuit_free(hs_ident_circuit_t *ident); +hs_ident_circuit_t *hs_ident_circuit_dup(const hs_ident_circuit_t *src); /* Directory connection identifier API. */ hs_ident_dir_conn_t *hs_ident_dir_conn_dup(const hs_ident_dir_conn_t *src); |