mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Clear cell queues when marking or truncating a circuit.
At best, this patch helps us avoid sending queued relayed cells that would get ignored during the time between when a destroy cell is sent and when the circuit is finally freed. At worst, it lets us release some memory a little earlier than it would otherwise. Fix for bug #1184. Bugfix on 0.2.0.1-alpha.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
o Minor bugfixes:
|
||||
- Never relay a cell for a circuit we have already destroyed.
|
||||
Between marking a circuit as closeable and finally closing it,
|
||||
it may have been possible for a few queued cells to get relayed,
|
||||
even though they would have been immediately dropped by the next
|
||||
OR in the circuit. Fix 1184; bugfix on 0.2.0.1-alpha.
|
||||
|
||||
Reference in New Issue
Block a user