mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
when pruning circuit-wait streams when a dir fetch failed,
refer in logs to the destination address, not the address of the application connection. svn:r3330
This commit is contained in:
+2
-1
@@ -416,7 +416,8 @@ void directory_all_unreachable(time_t now) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user