diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-08 16:00:19 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-19 02:02:17 -0400 |
commit | 172f8acbe7fcdf6b025ad87c81760ef45bbe1d53 (patch) | |
tree | fe15a3ff5367b5be1c5a02650481c16c0820d0f6 /src/or/dnsserv.c | |
parent | 8314fa5e5c8d300323589ff97599f8f93b847b78 (diff) | |
download | tor-172f8acbe7fcdf6b025ad87c81760ef45bbe1d53.tar.gz tor-172f8acbe7fcdf6b025ad87c81760ef45bbe1d53.zip |
Stick controller-originated resolves in their own session group
Diffstat (limited to 'src/or/dnsserv.c')
-rw-r--r-- | src/or/dnsserv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dnsserv.c b/src/or/dnsserv.c index c81d72f687..35279c4702 100644 --- a/src/or/dnsserv.c +++ b/src/or/dnsserv.c @@ -184,7 +184,11 @@ dnsserv_launch_request(const char *name, int reverse) strlcpy(conn->socks_request->address, name, sizeof(conn->socks_request->address)); + conn->original_dest_address = tor_strdup(name); + conn->session_group = SESSION_GROUP_CONTROL_RESOLVE; + conn->nym_epoch = get_signewnym_epoch(); + conn->isolation_flags = ISO_DEFAULT; if (connection_add(TO_CONN(conn))<0) { log_warn(LD_APP, "Couldn't register dummy connection for RESOLVE request"); |