diff options
author | David Goulet <dgoulet@torproject.org> | 2020-12-08 10:01:23 -0500 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2020-12-16 20:37:57 +0000 |
commit | ee6ad0e592c9b6239066697ae8aff83136edc2ed (patch) | |
tree | 0f5bdf6971eefbb498f66b47676132046601d675 /src/feature/client/transports.h | |
parent | c618c4f27986825df2026fb22b8ee222edd1afa1 (diff) | |
download | tor-ee6ad0e592c9b6239066697ae8aff83136edc2ed.tar.gz tor-ee6ad0e592c9b6239066697ae8aff83136edc2ed.zip |
config: Catch missing Bridge for ClientTransportPlugin
When making sure we have a Bridge line with a ClientTransportPlugin, we
now check in the managed proxy list and so we can catch any missing
ClientTransportPlugin for a Bridge line.
Fixes #40106
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/client/transports.h')
-rw-r--r-- | src/feature/client/transports.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/feature/client/transports.h b/src/feature/client/transports.h index 3aff1cb248..47b118e77b 100644 --- a/src/feature/client/transports.h +++ b/src/feature/client/transports.h @@ -41,6 +41,7 @@ void transport_free_(transport_t *transport); #define transport_free(tr) FREE_AND_NULL(transport_t, transport_free_, (tr)) MOCK_DECL(transport_t*, transport_get_by_name, (const char *name)); +bool managed_proxy_has_transport(const char *transport_name); MOCK_DECL(void, pt_kickstart_proxy, (const smartlist_t *transport_list, char **proxy_argv, |