]> git.ipfire.org Git - thirdparty/tor.git/commit
Don't warn of stray Bridges if managed proxies are still unconfigured.
authorGeorge Kadianakis <desnacked@gmail.com>
Sun, 11 Sep 2011 21:51:29 +0000 (23:51 +0200)
committerGeorge Kadianakis <desnacked@gmail.com>
Sun, 11 Sep 2011 21:51:29 +0000 (23:51 +0200)
commitd0416ce3ec67ca87448153c8b2416dd7901013c6
treedbc89ce65edb91bc96d4614a45d53a4a43bd01ea
parente8715b30411062d09832e912d87d526dc203e4f0
Don't warn of stray Bridges if managed proxies are still unconfigured.

With managed proxies you would always get the error message:

"You have a Bridge line using the X pluggable transport, but there
doesn't seem to be a corresponding ClientTransportPlugin line."

because the check happened directly after parse_client_transport_line()
when managed proxies were not fully configured and their transports
were not registered.

The fix is to move the validation to run_scheduled_events() and make
sure that all managed proxies are configured first.
src/or/circuitbuild.c
src/or/circuitbuild.h
src/or/config.c
src/or/main.c