mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fix an over-eager assert, to make httpsproxy get a little farther
svn:r3846
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user