mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
try to find the corrupt closeable_connection_lst entry early
svn:r3468
This commit is contained in:
parent
03dd466e5b
commit
7ddeb7fae7
@ -181,6 +181,7 @@ add_connection_to_closeable_list(connection_t *conn)
|
|||||||
{
|
{
|
||||||
tor_assert(!smartlist_isin(closeable_connection_lst, conn));
|
tor_assert(!smartlist_isin(closeable_connection_lst, conn));
|
||||||
tor_assert(conn->marked_for_close);
|
tor_assert(conn->marked_for_close);
|
||||||
|
tor_assert(conn->poll_index >= 0);
|
||||||
|
|
||||||
smartlist_add(closeable_connection_lst, conn);
|
smartlist_add(closeable_connection_lst, conn);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user