TUN-4940: Fix cloudflared not picking up correct NextProtos for quic
This commit is contained in:
parent
b6c85401a5
commit
071d595371
|
@ -256,7 +256,7 @@ func prepareTunnelConfig(
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, ingress.Ingress{}, errors.Wrap(err, "unable to create TLS config to connect with edge")
|
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
|
edgeTLSConfig.NextProtos = tlsSettings.NextProtos
|
||||||
}
|
}
|
||||||
edgeTLSConfigs[p] = edgeTLSConfig
|
edgeTLSConfigs[p] = edgeTLSConfig
|
||||||
|
|
Loading…
Reference in New Issue