From: Sebastian Hahn Date: Sun, 8 Aug 2010 13:20:24 +0000 (+0200) Subject: Update some documentation for the bug 1525 fix X-Git-Tag: tor-0.2.2.16-alpha~17^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=162c8847de6f0d9f01c5ec1358e7345956990a74;p=thirdparty%2Ftor.git Update some documentation for the bug 1525 fix --- diff --git a/changes/bug1525 b/changes/bug1525 index 64f5b175d3..04f2e3b793 100644 --- a/changes/bug1525 +++ b/changes/bug1525 @@ -1,4 +1,4 @@ o Minor bugfixes: - Ensure DNS requests launched by "RESOLVE" commands from the controller - respect __LeaveStreamsUnattached. Bugfix on 0.2.2.14-alpha; + respect __LeaveStreamsUnattached. Bugfix on 0.2.0.1-alpha; fixes bug 1525. diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 365a7972e3..a0f6e85c5c 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1409,7 +1409,10 @@ consider_plaintext_ports(edge_connection_t *conn, uint16_t port) #define TRACKHOSTEXITS_RETRIES 5 /** Call connection_ap_handshake_rewrite_and_attach() unless a controller - * asked us to leave streams unattached. + * asked us to leave streams unattached. Return 0 in that case. + * + * See connection_ap_handshake_rewrite_and_attach()'s + * documentation for arguments and return value. */ int connection_ap_rewrite_and_attach_if_allowed(edge_connection_t *conn,