Procházet zdrojové kódy

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

svn:r3846
Roger Dingledine před 20 roky
rodič
revize
fb8a319ffe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
   }