diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-04 03:03:40 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-04 03:03:40 +0000 |
commit | 569e882496a33cc9b9deb45288671e10b31af31e (patch) | |
tree | dae0f5cdafe787c7a32738e254f65b163bd7c0c9 /src/or | |
parent | 6515b74f0e3e3caf53c1ee3c09c6131e9b4b8393 (diff) | |
download | tor-569e882496a33cc9b9deb45288671e10b31af31e.tar.gz tor-569e882496a33cc9b9deb45288671e10b31af31e.zip |
Backport r17137: Patch from rovv: send back END cell in response to connect attempts to nonexistent hidden service port.
svn:r17868
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 0917bb51f5..6044d6b877 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2497,7 +2497,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ) n_stream->_base.port); end_payload[0] = END_STREAM_REASON_EXITPOLICY; relay_send_command_from_edge(rh.stream_id, circ, RELAY_COMMAND_END, - end_payload, 1, NULL); + end_payload, 1, origin_circ->cpath->prev); connection_free(TO_CONN(n_stream)); tor_free(address); return 0; |