Explorar o código

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

svn:r3846
Roger Dingledine %!s(int64=20) %!d(string=hai) anos
pai
achega
fb8a319ffe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
   }