[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] whoops. inform circuits again when we failed to connect to ...
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
circuituse.c
Log Message:
whoops. inform circuits again when we failed to connect to their
first hop, so they don't have to time out.
Index: circuituse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuituse.c,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -p -d -r1.121 -r1.122
--- circuituse.c 22 Mar 2006 00:52:36 -0000 1.121
+++ circuituse.c 22 Mar 2006 04:09:30 -0000 1.122
@@ -516,7 +516,7 @@ circuit_about_to_close_connection(connec
*/
switch (conn->type) {
case CONN_TYPE_OR: {
- if (connection_state_is_open(conn)) {
+ if (!connection_state_is_open(conn)) {
/* Inform any pending (not attached) circs that they should
* give up. */
circuit_n_conn_done(conn, 0);