summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-03-25 10:55:06 +0000
committerRoger Dingledine <arma@torproject.org>2005-03-25 10:55:06 +0000
commit9685164fe55358fe24abd470549b84a47d0c4b07 (patch)
tree3916404fdc8878b48654ffe11290ddeac6ea9df7
parentd26bcfab92a226a3297fa94b64c7f7084cba55a2 (diff)
downloadtor-9685164fe55358fe24abd470549b84a47d0c4b07.tar.gz
tor-9685164fe55358fe24abd470549b84a47d0c4b07.zip
don't mark a router down just because your httpsproxy is unreachable
svn:r3874
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 1233904486..fc4c6f0772 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1102,7 +1102,7 @@ int connection_handle_write(connection_t *conn) {
/* 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 {