diff options
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index 860696197e..22c89a29b2 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -478,8 +478,7 @@ void directory_all_unreachable(time_t now) { AP_CONN_STATE_CIRCUIT_WAIT))) { log_fn(LOG_NOTICE,"Network down? Failing connection to '%s:%d'.", conn->socks_request->address, conn->socks_request->port); - connection_close_unattached_ap(conn, END_STREAM_REASON_TIMEOUT); -// XXX should maybe reflect SOCKS5_NET_UNREACHABLE here. what reason is that? + connection_close_unattached_ap(conn, END_STREAM_REASON_NET_UNREACHABLE); } } |