summaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-05-10 13:43:37 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:33 -0400
commit7163ce7f62d6c487193fe43828420ba4fe721b9f (patch)
treeed06715af76b66ff4478ddbe3e6955a4be547372 /src/or/connection_or.c
parent5d2506d70cdc73d840e0222d0f007365ae44fac0 (diff)
downloadtor-7163ce7f62d6c487193fe43828420ba4fe721b9f.tar.gz
tor-7163ce7f62d6c487193fe43828420ba4fe721b9f.zip
hs: Refactor the service exit connection code
This commit simply moves the code from the if condition of a rendezvous circuit to a function to handle such a connection. No code was modified _except_ the use or rh.stream_id changed to n_stream->stream_id so we don't have to pass the cell header to the function. This is groundwork for prop224 support which will break down the handle_hs_exit_conn() depending on the version of hidden service the circuit and edge connection is for. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/connection_or.c')
0 files changed, 0 insertions, 0 deletions