Commit 2ac47edc authored by Marten Seemann's avatar Marten Seemann
Browse files

allow 1000 bidirectional streams, disable unidirectional streams

parent 6d5dbb82
......@@ -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},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment