[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] bugfix: while closing a circuit, we were freeing the conns ...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] bugfix: while closing a circuit, we were freeing the conns ...
- From: arma@seul.org (Roger Dingledine)
- Date: Wed, 2 Jun 2004 14:11:30 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 02 Jun 2004 14:11:46 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuitlist.c
Log Message:
bugfix: while closing a circuit, we were freeing the conns that were
pending resolve, but not removing them from the pending resolve list
Index: circuitlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuitlist.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- circuitlist.c 21 May 2004 12:25:15 -0000 1.5
+++ circuitlist.c 2 Jun 2004 18:11:28 -0000 1.6
@@ -372,6 +372,7 @@
while(circ->resolving_streams) {
conn = circ->resolving_streams;
circ->resolving_streams = conn->next_stream;
+ connection_dns_remove(conn); /* remove it from resolve lists */
log_fn(LOG_INFO,"Freeing resolving-conn.");
connection_free(conn);
}