diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-27 06:37:56 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-27 06:37:56 +0000 |
commit | 7a79acd9f6d377533940ee12fcb3afaaa982b04d (patch) | |
tree | e49a435a3f3a5fc4f4cda38aa060d010675988c9 /src/or/main.c | |
parent | ce854906db41e8e21a9cb8d42fcb63e469ca2b28 (diff) | |
download | tor-7a79acd9f6d377533940ee12fcb3afaaa982b04d.tar.gz tor-7a79acd9f6d377533940ee12fcb3afaaa982b04d.zip |
clean up socks reply stuff more.
add a few more reasons so we can be more informative.
svn:r3895
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); } } |