diff options
author | Roger Dingledine <arma@torproject.org> | 2005-03-23 22:11:59 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-03-23 22:11:59 +0000 |
commit | fb8a319ffe2d699aa1ba8234017e11fe68f92253 (patch) | |
tree | ad7660e47419296508c4fb63db870dda0263c7fd /src/or/connection.c | |
parent | 935d0d9685d73b0a88e2aebe5d4e148b4c2c19fa (diff) | |
download | tor-fb8a319ffe2d699aa1ba8234017e11fe68f92253.tar.gz tor-fb8a319ffe2d699aa1ba8234017e11fe68f92253.zip |
fix an over-eager assert, to make httpsproxy get a little farther
svn:r3846
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 1a9afcf6b2..b45c0bd475 100644 --- a/src/or/connection.c +++ b/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); } |