[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[or-cvs] it wouldn"t return when the next router isn"t up, leading t...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] it wouldn"t return when the next router isn"t up, leading t...
- From: arma@seul.org (Roger Dingledine)
- Date: Wed, 10 Jul 2002 15:05:15 -0400 (EDT)
- Delivered-To: archiver@seul.org
- Delivered-To: or-cvs-outgoing@seul.org
- Delivered-To: or-cvs@seul.org
- Delivery-Date: Wed, 10 Jul 2002 15:05:15 -0400
- Reply-To: or-cvs@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.seul.org:/home/arma/work/onion/cvs/src/or
Modified Files:
command.c
Log Message:
it wouldn't return when the next router isn't up, leading to later seg fault
i'm going to take a shower, and then solve the deadlocking problem mat found
Index: command.c
===================================================================
RCS file: /home/or/cvsroot/src/or/command.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- command.c 8 Jul 2002 08:59:15 -0000 1.4
+++ command.c 10 Jul 2002 19:05:13 -0000 1.5
@@ -101,6 +101,7 @@
*/
log(LOG_DEBUG,"command_process_create_cell(): Next router not connected. Closing.");
circuit_close(circ);
+ return;
}
circ->n_conn = n_conn;
log(LOG_DEBUG,"command_process_create_cell(): n_conn is %s:%u",n_conn->address,ntohs(n_conn->port));