Explorar o código

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


svn:r10334

Roger Dingledine %!s(int64=18) %!d(string=hai) anos
pai
achega
a19d131ed7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;