[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] when pruning circuit-wait streams when a dir fetch failed,
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] when pruning circuit-wait streams when a dir fetch failed,
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Sun, 9 Jan 2005 21:47:53 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 09 Jan 2005 21:48:25 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
main.c
Log Message:
when pruning circuit-wait streams when a dir fetch failed,
refer in logs to the destination address, not the address of the
application connection.
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.416
retrieving revision 1.417
diff -u -d -r1.416 -r1.417
--- main.c 7 Jan 2005 15:57:57 -0000 1.416
+++ main.c 10 Jan 2005 02:47:50 -0000 1.417
@@ -416,7 +416,8 @@
while ((conn = connection_get_by_type_state(CONN_TYPE_AP,
AP_CONN_STATE_CIRCUIT_WAIT))) {
conn->has_sent_end = 1; /* it's not connected anywhere, so no need to end */
- log_fn(LOG_NOTICE,"Network down? Failing connection to '%s'.", conn->address);
+ log_fn(LOG_NOTICE,"Network down? Failing connection to '%s'.",
+ conn->socks_address->address);
connection_mark_for_close(conn);
}
}