TUN-4421: Named Tunnels will automatically select the protocol to connect to Cloudflare's edge network

This commit is contained in:
cthuang
2021-05-17 15:48:07 +01:00
parent 103b2eca00
commit 6526211a69
2 changed files with 5 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ var (
}
selectProtocolFlag = altsrc.NewStringFlag(&cli.StringFlag{
Name: "protocol",
Value: "h2mux",
Value: "auto",
Aliases: []string{"p"},
Usage: fmt.Sprintf("Protocol implementation to connect with Cloudflare's edge network. %s", connection.AvailableProtocolFlagMessage),
EnvVars: []string{"TUNNEL_TRANSPORT_PROTOCOL"},