i suspect we would trigger asserts if we answer a cached

resolve request. this should help that.


svn:r10334
This commit is contained in:
Roger Dingledine 2007-05-25 19:30:07 +00:00
parent 32f5e19168
commit a19d131ed7

View File

@ -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;