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

View File

@ -9,6 +9,11 @@ Changes in version 0.2.0.3-alpha - 2007-??-??
- Fix a crash when DNSPort is set more than once. (Patch from Robert
Hogan.)
o Minor bugfixes (hidden services):
- 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.
Changes in version 0.2.0.2-alpha - 2007-06-02
o Major bugfixes on 0.2.0.1-alpha:

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;
}