]> git.ipfire.org Git - thirdparty/tor.git/commit
Clear cell queues when marking or truncating a circuit.
authorNick Mathewson <nickm@torproject.org>
Fri, 30 Jul 2010 22:55:24 +0000 (18:55 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 30 Jul 2010 22:55:24 +0000 (18:55 -0400)
commit6f45101327592333dcc54e08800fbc2cb68ccd49
tree6ed550c89289a454c4436fc9facec1d7de206b8d
parent15424bf800a56007d802db3a9d3fe40fbdf2bee5
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.
changes/bug1184 [new file with mode: 0644]
doc/spec/tor-spec.txt
src/or/circuitlist.c
src/or/connection_or.c
src/or/relay.c
src/or/relay.h