mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Bugfix: it looks like some middleman circuits were spending the
first few moments of their existence in CIRCUIT_STATE_OPEN, then when Alice sent an extend request for a Tor that they're not connected to, they switched to CIRCUIT_STATE_OR_WAIT and spent the rest of their sorry little lives in that state, even when the connection was established and they were shuttling relay cells back and forth. And I'm not going to backport this (yet), because somehow it worked! svn:r5427
This commit is contained in:
parent
0de8f4ee55
commit
f824fb5f83
@ -420,6 +420,7 @@ circuit_n_conn_done(connection_t *or_conn, int status)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
tor_free(circ->onionskin);
|
tor_free(circ->onionskin);
|
||||||
|
circ->state = CIRCUIT_STATE_OPEN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user