[tor-bugs] #1298 [Tor Client]: Tor does not treat multiple streams fairly

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 7 22:20:45 UTC 2010


#1298: Tor does not treat multiple streams fairly
-------------------------+--------------------------------------------------
  Reporter:  mikeperry   |       Owner:  nickm             
      Type:  defect      |      Status:  assigned          
  Priority:  major       |   Milestone:  Tor: 0.2.2.x-final
 Component:  Tor Client  |     Version:  0.2.1.24          
Resolution:  None        |    Keywords:                    
    Parent:              |  
-------------------------+--------------------------------------------------

Comment(by arma):

 It seems clear that fixing #1653 will make this problem less bad.

 But I bet there are still some fairness problems that could be relevant.

 For example, notice how circuit_resume_edge_reading_helper() always walks
 the stream list in the same order, and stops when it's exhausted the
 circuit's package window. Whenever that "stop when package window is
 empty" case gets triggered, we're being unfair to the streams later in the
 linked list.

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


More information about the tor-bugs mailing list