[tor-bugs] #7912 [Tor]: Cells that don't get inserted into cell queues can clog connection flushing

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 22 17:27:57 UTC 2013


#7912: Cells that don't get inserted into cell queues can clog connection flushing
------------------------------------+---------------------------------------
 Reporter:  asn                     |          Owner:                    
     Type:  defect                  |         Status:  needs_revision    
 Priority:  major                   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor                     |        Version:                    
 Keywords:  tor-relay 023-backport  |         Parent:                    
   Points:                          |   Actualpoints:                    
------------------------------------+---------------------------------------

Comment(by andrea):

 Replying to [comment:19 nickm]:
 > I'm also okay with special-casing the destroy queue so that it gets a
 high priority, so long as it doesn't starve all the other circuits.
 >
 > It's also not necessary to ensure that all the other cells on a circuit
 are flushed before the destroy goes through; it's more like a RST than a
 FIN.

 Okay; what about keeping a per-circuit pending destroy flag?  For
 scheduling purposes we'd treat a circuit with n cells an the pending
 destroy flag set as having n+1 cells, but when we *actually pick cells*
 from the circuit we see the pending destroy and send a destroy instead of
 the queue contents?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7912#comment:21>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list