You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/cloudflared/tunnel/cmd.go
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ var (
126
126
routeFailMsg=fmt.Sprintf("failed to provision routing, please create it manually via Cloudflare dashboard or UI; "+
127
127
"most likely you already have a conflicting record there. You can also rerun this command with --%s to overwrite "+
128
128
"any existing DNS records for this hostname.", overwriteDNSFlag)
129
-
deprecatedClassicTunnelErr=fmt.Errorf("Classic tunnels have been deprecated, please use Named Tunnels. (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/)")
129
+
errDeprecatedClassicTunnel=fmt.Errorf("Classic tunnels have been deprecated, please use Named Tunnels. (https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/)")
130
130
// TODO: TUN-8756 the list below denotes the flags that do not possess any kind of sensitive information
131
131
// however this approach is not maintainble in the long-term.
Copy file name to clipboardExpand all lines: connection/protocol.go
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ import (
14
14
const (
15
15
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"
16
16
// edgeH2muxTLSServerName is the server name to establish h2mux connection with edge (unused, but kept for legacy reference).
17
-
edgeH2muxTLSServerName="cftunnel.com"
17
+
_="cftunnel.com"
18
18
// edgeH2TLSServerName is the server name to establish http2 connection with edge
19
19
edgeH2TLSServerName="h2.cftunnel.com"
20
20
// edgeQUICServerName is the server name to establish quic connection with edge.
@@ -24,11 +24,9 @@ const (
24
24
ResolveTTL=time.Hour
25
25
)
26
26
27
-
var (
28
-
// ProtocolList represents a list of supported protocols for communication with the edge
29
-
// in order of precedence for remote percentage fetcher.
30
-
ProtocolList= []Protocol{QUIC, HTTP2}
31
-
)
27
+
// ProtocolList represents a list of supported protocols for communication with the edge
28
+
// in order of precedence for remote percentage fetcher.
0 commit comments