Browse Source

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

svn:r3846
Roger Dingledine 20 years ago
parent
commit
fb8a319ffe
1 changed files with 1 additions and 1 deletions
  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);
   }