[tor-bugs] #8295 [Tor]: Stop reading connection when marking it for close

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 21 09:23:03 UTC 2013


#8295: Stop reading connection when marking it for close
-------------------------+--------------------------------------------------
 Reporter:  cypherpunks  |          Owner:                    
     Type:  defect       |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor          |        Version:                    
 Keywords:  easy         |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
 connection_handle_read_impl() can't handle marked for close connection. No
 purpose to eat CPU cycles to call conn_read_callback() if no data will
 read. _connection_mark_for_close() should to call
 connection_stop_reading()

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


More information about the tor-bugs mailing list