[or-cvs] fix an over-eager assert, to make httpsproxy get a little f...

Roger Dingledine arma at seul.org
Wed Mar 23 22:12:01 UTC 2005


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);
   }
 



More information about the tor-commits mailing list