[tor-bugs] #7678 [Tor]: Check if a stream could send a cell but the circuit hasn't asked it to

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 20 17:46:14 UTC 2013


#7678: Check if a stream could send a cell but the circuit hasn't asked it to
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor        |        Version:  Tor: 0.2.3.25     
 Keywords:  tor-relay  |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by nickm):

 Nope, I don't have the original patches here.

 My first guess of the right rule is: an output buffer should never be
 empty when the circuitmux targeting that connection has any cells to send
 on that connection.  (That's because when an output buffer becomes empty,
 we are supposed to check for cells on the cmux, and when the cmux goes
 from empty to nonempty, we are supposed to prime a cell onto the output
 buffer immediately if it was empty.)

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


More information about the tor-bugs mailing list