Browse Source

don't mark a router down just because your httpsproxy is unreachable

svn:r3874
Roger Dingledine 20 years ago
parent
commit
9685164fe5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/connection.c

+ 1 - 1
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
         /* it's safe to pass OPs to router_mark_as_down(), since it just
          * ignores unrecognized routers
          * 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);
           router_mark_as_down(conn->identity_digest);
         return -1;
         return -1;
       } else {
       } else {