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

Re: [tor-bugs] #5263 [Tor Relay]: Busy/infinite Libevent loops



#5263: Busy/infinite Libevent loops
------------------------+---------------------------------------------------
 Reporter:  robgjansen  |          Owner:                    
     Type:  defect      |         Status:  needs_review      
 Priority:  major       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay   |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by nickm):

 Hm. What I said above about making the change in connection_read_to_buf: I
 think that's wrong; we don't want to stop writing every time we get a
 wantread: we only want to stop writing in the case you mentioned, where we
 try to read because connection_handle_read() failed, and we get a
 "wantread".  But we don't want to do that in just any case where
 read_result <= 0 : only in the case where it actually said wantread.
 Also, we need some way to make sure that once the operation eventually
 succeeds, we enable writing again, unless there already is such a thing.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5263#comment:19>
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