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:
@@ -90,6 +90,7 @@ func main() {
|
||||
utils.NewRTTStats(),
|
||||
nil,
|
||||
utils.DefaultLogger.WithPrefix("client"),
|
||||
protocol.VersionTLS,
|
||||
)
|
||||
|
||||
sChunkChan, sInitialStream, sHandshakeStream := initStreams()
|
||||
@@ -108,6 +109,7 @@ func main() {
|
||||
utils.NewRTTStats(),
|
||||
nil,
|
||||
utils.DefaultLogger.WithPrefix("server"),
|
||||
protocol.VersionTLS,
|
||||
)
|
||||
|
||||
serverHandshakeCompleted := make(chan struct{})
|
||||
|
||||
@@ -387,6 +387,7 @@ func runHandshake(runConfig [confLen]byte, messageConfig uint8, clientConf *tls.
|
||||
utils.NewRTTStats(),
|
||||
nil,
|
||||
utils.DefaultLogger.WithPrefix("client"),
|
||||
protocol.VersionTLS,
|
||||
)
|
||||
|
||||
sChunkChan, sInitialStream, sHandshakeStream := initStreams()
|
||||
@@ -403,6 +404,7 @@ func runHandshake(runConfig [confLen]byte, messageConfig uint8, clientConf *tls.
|
||||
utils.NewRTTStats(),
|
||||
nil,
|
||||
utils.DefaultLogger.WithPrefix("server"),
|
||||
protocol.VersionTLS,
|
||||
)
|
||||
|
||||
if len(data) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user