Use process_t for managed proxies.

This patch makes the managed proxy subsystem use the process_t data
structure such that we can get events from the PT process while Tor is
running and not just when the PT process is being configured.

See: https://bugs.torproject.org/28179
This commit is contained in:
Alexander Færøy
2018-11-23 05:56:41 +01:00
committed by Nick Mathewson
parent ad4cc89c5d
commit bfb94dd2ca
4 changed files with 137 additions and 119 deletions
-4
View File
@@ -1853,10 +1853,6 @@ second_elapsed_callback(time_t now, const or_options_t *options)
run_connection_housekeeping(i, now);
}
/* 11b. check pending unconfigured managed proxies */
if (!net_is_disabled() && pt_proxies_configuration_pending())
pt_configure_remaining_proxies();
/* Run again in a second. */
return 1;
}