From 6cc7d99e32f0d05472a080b52de88136e2ea2c69 Mon Sep 17 00:00:00 2001 From: Nuno Diegues Date: Thu, 18 Nov 2021 14:30:22 +0000 Subject: [PATCH] TUN-5441: Fix message about available protocols --- connection/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connection/protocol.go b/connection/protocol.go index 6fcea894..320d38c1 100644 --- a/connection/protocol.go +++ b/connection/protocol.go @@ -12,7 +12,7 @@ import ( ) const ( - AvailableProtocolFlagMessage = "Available protocols: http2 - Go's implementation, h2mux - Cloudflare's implementation of HTTP/2, and auto - automatically select between http2 and h2mux" + AvailableProtocolFlagMessage = "Available protocols: 'auto' - automatically chooses the best protocol over time (the default; and also the recommended one); 'quic' - based on QUIC, relying on UDP egress to Cloudflare edge; 'http2' - using Go's HTTP2 library, relying on TCP egress to Cloudflare edge; 'h2mux' - Cloudflare's implementation of HTTP/2, deprecated" // edgeH2muxTLSServerName is the server name to establish h2mux connection with edge edgeH2muxTLSServerName = "cftunnel.com" // edgeH2TLSServerName is the server name to establish http2 connection with edge