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

Re: [tor-bugs] #4626 [Tor Directory Authority]: Very high cpu usage for gabelmoo running master



#4626: Very high cpu usage for gabelmoo running master
-------------------------------------+--------------------------------------
 Reporter:  Sebastian                |          Owner:                    
     Type:  defect                   |         Status:  needs_review      
 Priority:  major                    |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------

Comment(by Sebastian):

 more updates

 {{{
 < wanoskarnet> the logic of 4fd79f9def289965 is broken. you can't to call
 connection_or_check_valid_tls_handshake() just after wantread from
 ssl_read(), that doesn't means that certs recved yet.
 < asn> got_renegotiate && WANTREAD, does it for most cases
 < asn> but in certain high-traffic scenarios, indeed, the certs might not
 be there.
 < wanoskarnet> no for most cases there are no certs at all. server just
 send hello and keys and returns -1 as non blockin io (no yet answer with
 cert and finish by client).
 < wanoskarnet> callback that sets got_renegotiate happens during first
 ssl_read just after client hello.
 }}}

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