add a few more debugging lines to help mikec track down his

11 minute jump into the future.


svn:r6465
This commit is contained in:
Roger Dingledine 2006-05-23 03:08:30 +00:00
parent 55c38f88b9
commit 6b058bd563
2 changed files with 4 additions and 0 deletions

View File

@ -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 */

View File

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