[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #5589 [Tor Bridge]: validate_pluggable_transports_config() is not called after SIGHUP
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs