Browse Source

i suspect we would trigger asserts if we answer a cached
resolve request. this should help that.


svn:r10334

Roger Dingledine 17 years ago
parent
commit
a19d131ed7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/dns.c

+ 1 - 0
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;