From 6b058bd563a31c0fbc51945419d973a5d8a2562b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 23 May 2006 03:08:30 +0000 Subject: [PATCH] add a few more debugging lines to help mikec track down his 11 minute jump into the future. svn:r6465 --- src/or/connection_edge.c | 2 ++ src/or/dns.c | 2 ++ 2 files changed, 4 insertions(+) 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); }