summaryrefslogtreecommitdiff
path: root/src/or/dnsserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r--src/or/dnsserv.c2
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. */