diff options
author | David Goulet <dgoulet@torproject.org> | 2017-05-10 15:04:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | 30b5c6a95ec9932f17f0b171c60229c1d77f829d (patch) | |
tree | f2dd4f04855198ace2bde6fb0a797353604699e3 /src/test/test_hs_ntor.c | |
parent | 7163ce7f62d6c487193fe43828420ba4fe721b9f (diff) | |
download | tor-30b5c6a95ec9932f17f0b171c60229c1d77f829d.tar.gz tor-30b5c6a95ec9932f17f0b171c60229c1d77f829d.zip |
prop224: Link rendezvous circuit to edge connection
This commit refactors the handle_hs_exit_conn() function introduced at a prior
commit that connects the rendezvous circuit to the edge connection used to
connect to the service virtual port requested in a BEGIN cell.
The refactor adds the support for prop224 adding the
hs_service_set_conn_addr_port() function that has the same purpose has
rend_service_set_connection_addr_port() from the legacy code.
The rend_service_set_connection_addr_port() has also been a bit refactored so
the common code can be shared between the two HS subsystems (legacy and
prop224).
In terms of functionallity, nothing has changed, we still close the circuits
in case of failure for the same reasons as the legacy system currently does.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_ntor.c')
0 files changed, 0 insertions, 0 deletions