diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-13 19:50:18 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-13 19:50:18 +0000 |
commit | 4b162fd1f41c53e52746628b8dec41450e72b38a (patch) | |
tree | d8e8516cc0b23ef079e1ad1870a9409034980a73 /src/or/dnsserv.c | |
parent | eab7c6890d462a20dd9808318ae48a56359a1fb7 (diff) | |
download | tor-4b162fd1f41c53e52746628b8dec41450e72b38a.tar.gz tor-4b162fd1f41c53e52746628b8dec41450e72b38a.zip |
r13401@catbus: nickm | 2007-06-13 15:50:16 -0400
Add dnsport connection to the global connection list. (Bug found by mwenge.)
svn:r10592
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r-- | src/or/dnsserv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c index ee3cd473cf..659d264a7b 100644 --- a/src/or/dnsserv.c +++ b/src/or/dnsserv.c @@ -122,6 +122,8 @@ evdns_server_callback(struct evdns_server_request *req, void *_data) conn->dns_server_request = req; + connection_add(TO_CONN(conn)); + /* Now, throw the connection over to get rewritten (which will answer it * immediately if it's in the cache, or completely bogus, or automapped), * and then attached to a circuit. */ |