浏览代码

fix an over-eager assert, to make httpsproxy get a little farther

svn:r3846
Roger Dingledine 20 年之前
父节点
当前提交
fb8a319ffe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/connection.c

+ 1 - 1
src/or/connection.c

@@ -1597,7 +1597,7 @@ void assert_connection_ok(connection_t *conn, time_t now)
     }
 //    tor_assert(conn->addr && conn->port);
     tor_assert(conn->address);
-    if (conn->state != OR_CONN_STATE_CONNECTING)
+    if (conn->state > OR_CONN_STATE_PROXY_READING)
       tor_assert(conn->tls);
   }