[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] don"t mark a router down just because your httpsproxy is un...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] don"t mark a router down just because your httpsproxy is un...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Fri, 25 Mar 2005 05:55:09 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 25 Mar 2005 05:55:30 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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 {