[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] when a stream times out, provide less (but better) explanat...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
connection_edge.c
Log Message:
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.
Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.360
retrieving revision 1.361
diff -u -d -r1.360 -r1.361
--- connection_edge.c 5 Nov 2005 20:15:26 -0000 1.360
+++ connection_edge.c 14 Nov 2005 04:13:43 -0000 1.361
@@ -356,10 +356,9 @@
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 */