r13716@catbus: nickm | 2007-07-12 12:12:45 -0400

Backport r10478: stop tearing down entire circuits just because the user asked for a nonexistent hidden service port.


svn:r10809
This commit is contained in:
Nick Mathewson 2007-07-12 16:17:27 +00:00
parent fef206a7d1
commit f59e1694d3
2 changed files with 5 additions and 2 deletions

View File

@ -15,6 +15,11 @@ Changes in version 0.1.2.15 - 2007-0?-??
- Count the number of authorities that recommend each version
correctly. Previously, we were under-counting by 1.
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.
o Minor bugfixes (misc)
- On Windows, we were preventing other processes from reading
cached-routers while Tor was running. (Reported by janbar)

View File

@ -2204,8 +2204,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;
}