[tor-bugs] #1653 [Tor - Relay]: exit relays don't consider local cell queue when hearing sendme

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Aug 2 15:26:49 UTC 2010


#1653: exit relays don't consider local cell queue when hearing sendme
-------------------------+--------------------------------------------------
 Reporter:  arma         |       Owner:                    
     Type:  defect       |      Status:  needs_review      
 Priority:  normal       |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor - Relay  |     Version:                    
 Keywords:               |      Parent:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 The patch looks good to me.  I'd change the implementation on
 circuit_queue_high() so that instead of checking for "queue->n >=
 HIGHWATER" it checks for "streams_blocked && queue->n >= LOWWATER".  Being
 above the high-water mark is the condition to block, but the condition to
 resume is getting under the low-water mark again.

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


More information about the tor-bugs mailing list