[or-cvs] and fill in another missing socks reply

Roger Dingledine arma at seul.org
Fri Mar 25 11:23:06 UTC 2005


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:
and fill in another missing socks reply


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.470
retrieving revision 1.471
diff -u -d -r1.470 -r1.471
--- main.c	25 Mar 2005 10:55:49 -0000	1.470
+++ main.c	25 Mar 2005 11:23:03 -0000	1.471
@@ -478,6 +478,7 @@
     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);
   }
 }



More information about the tor-commits mailing list