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

svn:r3846
This commit is contained in:
Roger Dingledine
2005-03-23 22:11:59 +00:00
parent 935d0d9685
commit fb8a319ffe
+1 -1
View File
@@ -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);
}