diff options
author | Roger Dingledine <arma@torproject.org> | 2007-05-25 19:30:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-05-25 19:30:07 +0000 |
commit | a19d131ed759a45d484fc11fe9e8d88798f304fa (patch) | |
tree | 9efd21766711dc2ab10af3477ce4b0012ee7c3f7 /src | |
parent | 32f5e19168cef04893752d12d3210dffc4040a2b (diff) | |
download | tor-a19d131ed759a45d484fc11fe9e8d88798f304fa.tar.gz tor-a19d131ed759a45d484fc11fe9e8d88798f304fa.zip |
i suspect we would trigger asserts if we answer a cached
resolve request. this should help that.
svn:r10334
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index faf6e460a1..c48cfc58b1 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -541,6 +541,7 @@ dns_resolve(edge_connection_t *exitconn) send_resolved_hostname_cell(exitconn, hostname); else send_resolved_cell(exitconn, RESOLVED_TYPE_IPV4); + exitconn->on_circuit = NULL; } else { exitconn->next_stream = oncirc->n_streams; oncirc->n_streams = exitconn; |