mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 20:59:56 +00:00
TUN-4940: Fix cloudflared not picking up correct NextProtos for quic
This commit is contained in:
@@ -256,7 +256,7 @@ func prepareTunnelConfig(
|
||||
if err != nil {
|
||||
return nil, ingress.Ingress{}, errors.Wrap(err, "unable to create TLS config to connect with edge")
|
||||
}
|
||||
if len(edgeTLSConfig.NextProtos) > 0 {
|
||||
if len(tlsSettings.NextProtos) > 0 {
|
||||
edgeTLSConfig.NextProtos = tlsSettings.NextProtos
|
||||
}
|
||||
edgeTLSConfigs[p] = edgeTLSConfig
|
||||
|
Reference in New Issue
Block a user