[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] sometimes, a conn on the closeable_lst gets absolutely
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or
Modified Files:
main.c
Log Message:
sometimes, a conn on the closeable_lst gets absolutely
clobbered. maybe this will help me find out why.
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.436
retrieving revision 1.437
diff -u -d -r1.436 -r1.437
--- main.c 1 Feb 2005 00:37:16 -0000 1.436
+++ main.c 2 Feb 2005 00:19:09 -0000 1.437
@@ -203,6 +203,7 @@
{
tor_assert(!smartlist_isin(closeable_connection_lst, conn));
tor_assert(conn->marked_for_close);
+ assert_connection_ok(conn, time(NULL));
smartlist_add(closeable_connection_lst, conn);
}