summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-06 06:13:49 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-06 06:13:49 +0000
commit4453e3794a4630f7da8cde0a0aebaad628986a67 (patch)
tree4e9c55846930932d0e05f74586d9fef1540a6460 /src/or/dns.c
parent2a0b1025e5b69fda664ef47f51309ae7c23384f4 (diff)
downloadtor-4453e3794a4630f7da8cde0a0aebaad628986a67.tar.gz
tor-4453e3794a4630f7da8cde0a0aebaad628986a67.zip
Add a pointer from edge connections to their corresponding circuit (ulp!); add some debugging sanity-checking for cirid_orconn_map stuff
svn:r4024
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 02f44697e5..1a488920e2 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -571,6 +571,7 @@ static void dns_found_answer(char *address, uint32_t addr, char outcome) {
circuit_detach_stream(circ, pend->conn);
/* and link it to n_streams */
pend->conn->next_stream = circ->n_streams;
+ pend->conn->on_circuit = circ;
circ->n_streams = pend->conn;
connection_exit_connect(pend->conn);