allow 1000 bidirectional streams, disable unidirectional streams
@@ -19,6 +19,8 @@ import (
)
var quicConfig = &quic.Config{
+ MaxIncomingStreams: 1000,
+ MaxIncomingUniStreams: -1, // disable unidirectional streams
MaxReceiveStreamFlowControlWindow: 3 * (1 << 20), // 3 MB
MaxReceiveConnectionFlowControlWindow: 4.5 * (1 << 20), // 4.5 MB
Versions: []quic.VersionNumber{101},
