[or-cvs] clarify the warning for unrecognized socks version

Roger Dingledine arma at seul.org
Sat Oct 11 23:38:22 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	buffers.c 
Log Message:
clarify the warning for unrecognized socks version
(generally happens when people use tor as an httpd proxy)


Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- buffers.c	10 Oct 2003 01:48:31 -0000	1.44
+++ buffers.c	11 Oct 2003 23:38:20 -0000	1.45
@@ -473,7 +473,7 @@
       return 1;
 
     default: /* version is not socks4 or socks5 */
-      log_fn(LOG_WARN,"Socks version %d not recognized.",*(buf->buf));
+      log_fn(LOG_WARN,"Socks version %d not recognized. (Tor is not an httpd proxy.)",*(buf->buf));
       return -1;
   }
 }



More information about the tor-commits mailing list