Skip to content

Commit 5148d00

Browse files
TUN-5246: Use protocol: quic for Quick tunnels if one is not already set
1 parent bb10e1d commit 5148d00

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/cloudflared/tunnel/quick_tunnel.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ func RunQuickTunnel(sc *subcommandContext) error {
7070
sc.log.Info().Msg(line)
7171
}
7272

73+
if !sc.c.IsSet("protocol") {
74+
sc.c.Set("protocol", "quic")
75+
}
76+
7377
return StartServer(
7478
sc.c,
7579
version,

0 commit comments

Comments
 (0)