From 65d7c74787289c111b6b61aeddc3c12c43236044 Mon Sep 17 00:00:00 2001 From: WendelHime <6754291+WendelHime@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:17:17 -0300 Subject: [PATCH] feat: add support for water multiplex --- chained/proxy.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chained/proxy.go b/chained/proxy.go index aed718410..3dfd4735d 100644 --- a/chained/proxy.go +++ b/chained/proxy.go @@ -250,7 +250,8 @@ func createImpl(configDir, name, addr, transport string, s *config.ProxyConfig, func isAMultiplexedTransport(transport string) bool { return transport == "tlsmasq" || transport == "starbridge" || - transport == "algeneva" + transport == "algeneva" || + transport == "water" } // ForceProxy forces everything through the HTTP proxy at forceAddr using @@ -339,7 +340,7 @@ func newProxy(name, addr, protocol, network string, s *config.ProxyConfig, uc co name: name, protocol: protocol, network: network, - multiplexed: s.MultiplexedAddr != "", + multiplexed: s.MultiplexedAddr != "" || isAMultiplexedTransport(name), addr: addr, authToken: s.AuthToken, user: uc,