TUN-6871: Add default feature to cloudflared to support EOF on QUIC connections
This commit is contained in:
parent
c3c050aa79
commit
e6c9ec0b39
|
@ -46,7 +46,7 @@ var (
|
||||||
LogFieldHostname = "hostname"
|
LogFieldHostname = "hostname"
|
||||||
|
|
||||||
secretFlags = [2]*altsrc.StringFlag{credentialsContentsFlag, tunnelTokenFlag}
|
secretFlags = [2]*altsrc.StringFlag{credentialsContentsFlag, tunnelTokenFlag}
|
||||||
defaultFeatures = []string{supervisor.FeatureAllowRemoteConfig, supervisor.FeatureSerializedHeaders, supervisor.FeatureDatagramV2}
|
defaultFeatures = []string{supervisor.FeatureAllowRemoteConfig, supervisor.FeatureSerializedHeaders, supervisor.FeatureDatagramV2, supervisor.FeatureQUICSupportEOF}
|
||||||
|
|
||||||
configFlags = []string{"autoupdate-freq", "no-autoupdate", "retries", "protocol", "loglevel", "transport-loglevel", "origincert", "metrics", "metrics-update-freq", "edge-ip-version"}
|
configFlags = []string{"autoupdate-freq", "no-autoupdate", "retries", "protocol", "loglevel", "transport-loglevel", "origincert", "metrics", "metrics-update-freq", "edge-ip-version"}
|
||||||
)
|
)
|
||||||
|
|
|
@ -37,6 +37,7 @@ const (
|
||||||
FeatureAllowRemoteConfig = "allow_remote_config"
|
FeatureAllowRemoteConfig = "allow_remote_config"
|
||||||
FeatureDatagramV2 = "support_datagram_v2"
|
FeatureDatagramV2 = "support_datagram_v2"
|
||||||
FeaturePostQuantum = "postquantum"
|
FeaturePostQuantum = "postquantum"
|
||||||
|
FeatureQUICSupportEOF = "support_quic_eof"
|
||||||
)
|
)
|
||||||
|
|
||||||
type TunnelConfig struct {
|
type TunnelConfig struct {
|
||||||
|
|
Loading…
Reference in New Issue