forked from quic-go/quic-go
select the H3 ALPN based on the QUIC version in use (for the H3 server)
This commit is contained in:
@@ -69,7 +69,7 @@ func newClient(
|
||||
tlsConf = tlsConf.Clone()
|
||||
}
|
||||
// Replace existing ALPNs by H3
|
||||
tlsConf.NextProtos = []string{nextProtoH3}
|
||||
tlsConf.NextProtos = []string{nextProtoH3Draft29}
|
||||
if quicConfig == nil {
|
||||
quicConfig = defaultQuicConfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user