diff options
author | Roger Dingledine <arma@torproject.org> | 2005-11-14 04:13:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-11-14 04:13:43 +0000 |
commit | 6fc30a65fd54ab09b1cdd28b54d3a43b06916df5 (patch) | |
tree | 13875210a928d12bcd9ab538c392fe202ba16d79 /src/or | |
parent | ed4f15b2a78d29a9c124c77533775c037a874029 (diff) | |
download | tor-6fc30a65fd54ab09b1cdd28b54d3a43b06916df5.tar tor-6fc30a65fd54ab09b1cdd28b54d3a43b06916df5.tar.gz |
when a stream times out, provide less (but better) explanation
of what happened. don't bother printing the path, since i don't
know of any person who has gotten anything useful out of that.
svn:r5367
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/connection_edge.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 5374b59d2..1c904621e 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -356,10 +356,9 @@ connection_ap_expire_beginning(void) continue; } tor_assert(circ->purpose == CIRCUIT_PURPOSE_C_GENERAL); - notice(LD_APP,"Stream is %d seconds late on address '%s'. Retrying.", + notice(LD_APP,"We tried for %d seconds to connect to '%s'. Retrying on a new circuit.", (int)(now - conn->timestamp_lastread), safe_str(conn->socks_request->address)); - circuit_log_path(LOG_NOTICE, LD_APP, circ); /* send an end down the circuit */ connection_edge_end(conn, END_STREAM_REASON_TIMEOUT, conn->cpath_layer); /* un-mark it as ending, since we're going to reuse it */ |