forked from quic-go/quic-go
don't replace the ALPN in the tls.Config returned by GetConfigForClient
This commit is contained in:
@@ -113,6 +113,7 @@ func (s *Server) serveImpl(tlsConf *tls.Config, conn net.PacketConn) error {
|
||||
if err != nil || conf == nil {
|
||||
return conf, err
|
||||
}
|
||||
conf = conf.Clone()
|
||||
conf.NextProtos = []string{nextProtoH3}
|
||||
return conf, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user