Browse Source

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

Roger Dingledine 17 years ago
parent
commit
80e675deb1
2 changed files with 5 additions and 2 deletions
  1. 5 0
      ChangeLog
  2. 0 2
      src/or/connection_edge.c

+ 5 - 0
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:

+ 0 - 2
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;
     }