aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-25 18:22:39 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-25 18:22:39 +0000
commit5f226f130cd4f5685e41a84d7a7e6ad7f72f6d6a (patch)
tree925e58d5881e4e6130c5716fd8fcaba7b4ab95e0 /src
parentbb524e99c9dd9555b0f77275bbb5574d47689fc8 (diff)
downloadtor-5f226f130cd4f5685e41a84d7a7e6ad7f72f6d6a.tar.gz
tor-5f226f130cd4f5685e41a84d7a7e6ad7f72f6d6a.zip
r12957@catbus: nickm | 2007-05-25 14:11:02 -0400
Fix a dnsserv bug: mark the connectino as "finished handshaking" once dnsserv_resolved is called. svn:r10327
Diffstat (limited to 'src')
-rw-r--r--src/or/connection_edge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index b6253175c9..8bc4e234e3 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1947,6 +1947,7 @@ connection_ap_handshake_socks_resolved(edge_connection_t *conn,
if (conn->dns_server_request) {
dnsserv_resolved(conn, answer_type, answer_len, answer, ttl);
+ conn->socks_request->has_finished = 1; /* DOCDOC */
return;
}