diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-10-21 16:41:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-10-21 16:41:20 +0000 |
commit | b593fd5c20bb3a0080673f6853e95bb9f3ffb799 (patch) | |
tree | 603f1a947de96390bcbcf12ae131391ffbd14615 /src | |
parent | bca46cc628dc2a76d32b70359ffba21c567bb705 (diff) | |
download | tor-b593fd5c20bb3a0080673f6853e95bb9f3ffb799.tar.gz tor-b593fd5c20bb3a0080673f6853e95bb9f3ffb799.zip |
Patch from rovv: send back END cell in response to connect attempts to nonexistent hidden service port.
svn:r17137
Diffstat (limited to 'src')
-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 b1d42cc5f4..e060b6b42d 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2566,7 +2566,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; |