[or-cvs] don"t mark a router down just because your httpsproxy is un...

Roger Dingledine arma at seul.org
Fri Mar 25 10:55:09 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:
	connection.c 
Log Message:
don't mark a router down just because your httpsproxy is unreachable


Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -d -r1.345 -r1.346
--- connection.c	25 Mar 2005 05:54:50 -0000	1.345
+++ connection.c	25 Mar 2005 10:55:06 -0000	1.346
@@ -1102,7 +1102,7 @@
         /* it's safe to pass OPs to router_mark_as_down(), since it just
          * ignores unrecognized routers
          */
-        if (conn->type == CONN_TYPE_OR)
+        if (conn->type == CONN_TYPE_OR && !get_options()->HttpsProxy)
           router_mark_as_down(conn->identity_digest);
         return -1;
       } else {



More information about the tor-commits mailing list