diff options
author | Roger Dingledine <arma@torproject.org> | 2006-05-23 03:08:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-05-23 03:08:30 +0000 |
commit | 6b058bd563a31c0fbc51945419d973a5d8a2562b (patch) | |
tree | 59d697716e657bd394e82c910ec711626977d10b /src/or | |
parent | 55c38f88b9b568cb6cfcd77cac2dd580e80c6b91 (diff) | |
download | tor-6b058bd563a31c0fbc51945419d973a5d8a2562b.tar.gz tor-6b058bd563a31c0fbc51945419d973a5d8a2562b.zip |
add a few more debugging lines to help mikec track down his
11 minute jump into the future.
svn:r6465
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 2 | ||||
-rw-r--r-- | src/or/dns.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 165b753ada..090557a8da 100644 --- a/src/or/connection_edge.c +++ b/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 */ diff --git a/src/or/dns.c b/src/or/dns.c index ebbc5b75bd..cad90bc74a 100644 --- a/src/or/dns.c +++ b/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); } |