diff options
author | Alexander Færøy <ahf@torproject.org> | 2018-11-23 05:56:41 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-17 16:39:28 -0500 |
commit | bfb94dd2ca8e04fb1fe8aba9ad48effbb8b70662 (patch) | |
tree | 4b5b6a917381c6b09ee4f866a01c927ee047ded0 /src/core | |
parent | ad4cc89c5d1987cbcb231bf054433c7f05b83a95 (diff) | |
download | tor-bfb94dd2ca8e04fb1fe8aba9ad48effbb8b70662.tar.gz tor-bfb94dd2ca8e04fb1fe8aba9ad48effbb8b70662.zip |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mainloop/mainloop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/mainloop/mainloop.c b/src/core/mainloop/mainloop.c index 2e2ae876d4..aaaa5009cb 100644 --- a/src/core/mainloop/mainloop.c +++ b/src/core/mainloop/mainloop.c @@ -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; } |