aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-06-04 03:13:13 +0000
committerRoger Dingledine <arma@torproject.org>2007-06-04 03:13:13 +0000
commit80e675deb12103bbd50df97d9f4fb5467910644d (patch)
treeac2767a193b20de3562e633f6e241c53191f855d /src/or/connection_edge.c
parent58eabb5f302f89d0b379c6f13da1f883c1ab7817 (diff)
downloadtor-80e675deb12103bbd50df97d9f4fb5467910644d.tar.gz
tor-80e675deb12103bbd50df97d9f4fb5467910644d.zip
Stop tearing down the whole circuit when the user asks for a
connection to a port that the hidden service didn't configure. Resolves bug 444. svn:r10478
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 3ac8e7346a..393b95bf08 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2235,8 +2235,6 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
relay_send_command_from_edge(rh.stream_id, circ, RELAY_COMMAND_END,
end_payload, 1, NULL);
connection_free(TO_CONN(n_stream));
- /* knock the whole thing down, somebody screwed up */
- circuit_mark_for_close(circ, END_CIRC_REASON_CONNECTFAILED);
tor_free(address);
return 0;
}