mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Forward-port: Fix bug 893: check AP connections for markedness before expiring them.
svn:r18299
This commit is contained in:
@@ -401,7 +401,7 @@ connection_ap_expire_beginning(void)
|
||||
smartlist_t *conns = get_connection_array();
|
||||
|
||||
SMARTLIST_FOREACH_BEGIN(conns, connection_t *, c) {
|
||||
if (c->type != CONN_TYPE_AP)
|
||||
if (c->type != CONN_TYPE_AP || c->marked_for_close)
|
||||
continue;
|
||||
conn = TO_EDGE_CONN(c);
|
||||
/* if it's an internal linked connection, don't yell its status. */
|
||||
|
||||
Reference in New Issue
Block a user