Browse Source

add a few more debugging lines to help mikec track down his
11 minute jump into the future.


svn:r6465

Roger Dingledine 19 years ago
parent
commit
6b058bd563
2 changed files with 4 additions and 0 deletions
  1. 2 0
      src/or/connection_edge.c
  2. 2 0
      src/or/dns.c

+ 2 - 0
src/or/connection_edge.c

@@ -1659,6 +1659,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
     connection_free(n_stream);
     return 0;
   }
+  log_debug(LD_EXIT,"about to start the dns_resolve().");
 
   /* send it off to the gethostbyname farm */
   switch (dns_resolve(n_stream)) {
@@ -1670,6 +1671,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
       circ->n_streams = n_stream;
       assert_circuit_ok(circ);
 
+      log_debug(LD_EXIT,"about to call connection_exit_connect().");
       connection_exit_connect(n_stream);
       return 0;
     case -1: /* resolve failed */

+ 2 - 0
src/or/dns.c

@@ -339,6 +339,8 @@ dns_resolve(connection_t *exitconn)
   exitconn->state = EXIT_CONN_STATE_RESOLVING;
 
   insert_resolve(resolve);
+  log_debug(LD_EXIT,"Assigning question %s to dnsworker.",
+            escaped_safe_str(exitconn->address));
   return assign_to_dnsworker(exitconn);
 }