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
This commit is contained in:
Roger Dingledine
2007-06-04 03:13:13 +00:00
parent 58eabb5f30
commit 80e675deb1
2 changed files with 5 additions and 2 deletions
-2
View File
@@ -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;
}