Commit a19d131e authored by Roger Dingledine's avatar Roger Dingledine
Browse files

i suspect we would trigger asserts if we answer a cached

resolve request. this should help that.


svn:r10334
parent 32f5e191
...@@ -541,6 +541,7 @@ dns_resolve(edge_connection_t *exitconn) ...@@ -541,6 +541,7 @@ dns_resolve(edge_connection_t *exitconn)
send_resolved_hostname_cell(exitconn, hostname); send_resolved_hostname_cell(exitconn, hostname);
else else
send_resolved_cell(exitconn, RESOLVED_TYPE_IPV4); send_resolved_cell(exitconn, RESOLVED_TYPE_IPV4);
exitconn->on_circuit = NULL;
} else { } else {
exitconn->next_stream = oncirc->n_streams; exitconn->next_stream = oncirc->n_streams;
oncirc->n_streams = exitconn; oncirc->n_streams = exitconn;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment