[tor-bugs] #1784 [Tor - Relay]: RELAY_TRUNCATE should give cell queues a chance to flush

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Aug 2 16:43:55 UTC 2010


#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


More information about the tor-bugs mailing list