mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fix a double mark-for-close
svn:r1913
This commit is contained in:
@@ -317,7 +317,8 @@ void connection_ap_attach_pending(void)
|
||||
|
||||
for (i = 0; i < n; ++i) {
|
||||
conn = carray[i];
|
||||
if (conn->type != CONN_TYPE_AP ||
|
||||
if (conn->marked_for_close ||
|
||||
conn->type != CONN_TYPE_AP ||
|
||||
conn->state != AP_CONN_STATE_CIRCUIT_WAIT)
|
||||
continue;
|
||||
if(connection_ap_handshake_attach_circuit(conn) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user