Backport: Commit fix for bug 807 from mwenge: send CLOSED controller event for reverse dns resolve, not FAILED.

svn:r16986
This commit is contained in:
Nick Mathewson 2008-09-26 20:26:02 +00:00
parent efea050fff
commit 115ea29952
2 changed files with 5 additions and 2 deletions

View File

@ -17,6 +17,10 @@ Changes in version 0.2.0.32 - 2008-??-??
had met our limits precisely. Fixes bug 824. Patch from by rovv. had met our limits precisely. Fixes bug 824. Patch from by rovv.
Bugfix on 0.2.0.x (??). Bugfix on 0.2.0.x (??).
o Minor bugfixes (controller):
- Make DNS resolved events into "CLOSED", not "FAILED". Bugfix on
0.1.2.5-alpha. Fix by Robert Hogan. Resolves bug 807.
Changes in version 0.2.0.31 - 2008-09-03 Changes in version 0.2.0.31 - 2008-09-03
Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix Tor 0.2.0.31 addresses two potential anonymity issues, starts to fix

View File

@ -1368,8 +1368,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
map_expires); map_expires);
connection_mark_unattached_ap(conn, connection_mark_unattached_ap(conn,
END_STREAM_REASON_DONE | END_STREAM_REASON_DONE |
END_STREAM_REASON_FLAG_ALREADY_SOCKS_REPLIED | END_STREAM_REASON_FLAG_ALREADY_SOCKS_REPLIED);
END_STREAM_REASON_FLAG_ALREADY_SENT_CLOSED);
return 0; return 0;
} }
if (options->ClientDNSRejectInternalAddresses) { if (options->ClientDNSRejectInternalAddresses) {