From: Roger Dingledine Date: Fri, 25 Mar 2005 11:23:03 +0000 (+0000) Subject: and fill in another missing socks reply X-Git-Tag: tor-0.1.0.1-rc~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=570da8a8e84d69c917bcacde36546d0e237103d5;p=thirdparty%2Ftor.git and fill in another missing socks reply svn:r3877 --- diff --git a/src/or/main.c b/src/or/main.c index ba4c563a9d..82b711a512 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -478,6 +478,7 @@ void directory_all_unreachable(time_t now) { 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:%d'.", conn->socks_request->address, conn->socks_request->port); + connection_ap_handshake_socks_reply(conn, NULL, 0, SOCKS5_NET_UNREACHABLE); connection_mark_for_close(conn); } }