[tor-bugs] #5589 [Tor Bridge]: validate_pluggable_transports_config() is not called after SIGHUP

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Apr 9 17:15:16 UTC 2012


#5589: validate_pluggable_transports_config() is not called after SIGHUP
------------------------+---------------------------------------------------
 Reporter:  asn         |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Bridge  |        Version:                    
 Keywords:  pt          |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 {{{
   /** 11c. validate pluggable transports configuration if we need to */
   if (!has_validated_pt &&
       (options->Bridges || options->ClientTransportPlugin)) {
     if (validate_pluggable_transports_config() == 0) {
       has_validated_pt = 1;
     }
   }
 }}}

 where `has_validated_pt` is a static variable. This means that after
 getting set to `1`, `validate_pluggable_transports_config()` will never be
 called again (even after a SIGHUP).

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


More information about the tor-bugs mailing list