From 80e675deb12103bbd50df97d9f4fb5467910644d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 4 Jun 2007 03:13:13 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ src/or/connection_edge.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a9c58889f..0c9bb21437 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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: 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; }