[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #1784 [Tor - Relay]: RELAY_TRUNCATE should give cell queues a chance to flush
#1784: RELAY_TRUNCATE should give cell queues a chance to flush
-------------------------+--------------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor - Relay | Version:
Keywords: | Parent:
-------------------------+--------------------------------------------------
Since we introduced cell queues, truncating a circuit has meant that cells
pending on the n_cell_queue would likely get dropped when the
RELAY_TRUNCATE cell was first received. This isn't very useful behavior:
if you sent some data cells then a relay_end then a truncate, you almost
certainly wanted the data to arrive.
Fortunately, Tor doesn't (AFAIK) use TRUNCATE like this today. But it
would be a good thing to fix.
The implementation could be a little tricky here, since once we process
the TRUNCATE, we need to accept EXTEND requests. One solution might be to
queue and process _all_ relay cells inorder, not just the data cells. But
that would probably create problems of its own.
This came out of a discussion of bug #1184 by wanoskarnet.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1784>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs