[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] try to find the corrupt closeable_connection_lst entry early
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] try to find the corrupt closeable_connection_lst entry early
- From: arma@xxxxxxxx (Roger Dingledine)
- Date: Sun, 30 Jan 2005 15:31:11 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sun, 30 Jan 2005 15:31:30 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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:
try to find the corrupt closeable_connection_lst entry early
Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.431
retrieving revision 1.432
diff -u -d -r1.431 -r1.432
--- main.c 30 Jan 2005 00:07:31 -0000 1.431
+++ main.c 30 Jan 2005 20:31:08 -0000 1.432
@@ -181,6 +181,7 @@
{
tor_assert(!smartlist_isin(closeable_connection_lst, conn));
tor_assert(conn->marked_for_close);
+ tor_assert(conn->poll_index >= 0);
smartlist_add(closeable_connection_lst, conn);
}