[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix an over-eager assert, to make httpsproxy get a little f...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] fix an over-eager assert, to make httpsproxy get a little f...
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Wed, 23 Mar 2005 17:12:01 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 23 Mar 2005 17:12:33 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
connection.c
Log Message:
fix an over-eager assert, to make httpsproxy get a little farther
Index: connection.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.341
retrieving revision 1.342
diff -u -d -r1.341 -r1.342
--- connection.c 23 Mar 2005 20:42:37 -0000 1.341
+++ connection.c 23 Mar 2005 22:11:59 -0000 1.342
@@ -1597,7 +1597,7 @@
}
// 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);
}