From c0499795859ad28c19b962e4b429da6bc186e5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20C=C3=A9sar=20Su=C3=A1stegui?= Date: Fri, 3 Apr 2026 03:25:05 -0600 Subject: [PATCH] fix: use 'auto' as default protocol for quick tunnels Quick tunnel was hardcoding 'quic' as the default protocol when no --protocol flag was specified, ignoring the documented default of 'auto'. The Cloudflare docs state that 'auto' is the default: https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/configure-tunnels/run-parameters/#protocol This caused quick tunnels to always use QUIC even in environments where HTTP/2 would be preferable or where QUIC is blocked. Fixes #1609. --- cmd/cloudflared/tunnel/quick_tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cloudflared/tunnel/quick_tunnel.go b/cmd/cloudflared/tunnel/quick_tunnel.go index e5e87da6..7d3bd33b 100644 --- a/cmd/cloudflared/tunnel/quick_tunnel.go +++ b/cmd/cloudflared/tunnel/quick_tunnel.go @@ -84,7 +84,7 @@ func RunQuickTunnel(sc *subcommandContext) error { } if !sc.c.IsSet(flags.Protocol) { - _ = sc.c.Set(flags.Protocol, "quic") + _ = sc.c.Set(flags.Protocol, "auto") } // Override the number of connections used. Quick tunnels shouldn't be used for production usage,