[tor-bugs] #6028 [Tor Relay]: errno_to_orconn_end_reason() spams log when errno == 0

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Jun 15 23:33:20 UTC 2012


#6028: errno_to_orconn_end_reason() spams log when errno == 0
-----------------------+----------------------------------------------------
 Reporter:  ln5        |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  minor      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by andrea):

 I think the only path out of connection_handle_read_impl() without setting
 *socket_error should also log_warn(LD_BUG, "apparently, reading pending
 bytes can fail.").  Since no such message was mentioned I'll assume this
 is not the case.

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


More information about the tor-bugs mailing list