[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #2756 [Tor Relay]: Send stream-level sendme when outbuf is low: don't wait for it to empty!



#2756: Send stream-level sendme when outbuf is low: don't wait for it to empty!
-----------------------+----------------------------------------------------
 Reporter:  nickm      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  normal     |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 Right now we consider sending an stream-level SENDME under two conditions:
  * We get a data cell on that stream.
  * We have completely flushed the outbuf for that stream.

 But suppose that the sender has exhausted its quota of cells.  We actually
 are _willing_ to send a SENDME cell before we've flushed everything down
 to 10*RELAY_PAYLOAD_SIZE (and we should, for throughput).  So we should
 add another check that happens when we flush data, to see if we have
 drained enough to send a stream-level relay cell.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2756>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs