[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] add a few more debugging lines to help mikec track down his
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
connection_edge.c dns.c
Log Message:
add a few more debugging lines to help mikec track down his
11 minute jump into the future.
Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -p -d -r1.397 -r1.398
--- connection_edge.c 18 Apr 2006 05:03:09 -0000 1.397
+++ connection_edge.c 23 May 2006 03:08:29 -0000 1.398
@@ -1659,6 +1659,7 @@ connection_exit_begin_conn(cell_t *cell,
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,
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 */
Index: dns.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/dns.c,v
retrieving revision 1.183
retrieving revision 1.184
diff -u -p -d -r1.183 -r1.184
--- dns.c 18 Apr 2006 03:07:24 -0000 1.183
+++ dns.c 23 May 2006 03:08:30 -0000 1.184
@@ -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);
}