summaryrefslogtreecommitdiff
path: root/src/feature/client/transports.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2020-12-08 10:01:23 -0500
committerAlexander Færøy <ahf@torproject.org>2020-12-16 20:37:57 +0000
commitee6ad0e592c9b6239066697ae8aff83136edc2ed (patch)
tree0f5bdf6971eefbb498f66b47676132046601d675 /src/feature/client/transports.h
parentc618c4f27986825df2026fb22b8ee222edd1afa1 (diff)
downloadtor-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.h1
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,