forked from quic-go/quic-go
make the initial stream flow control window configurable
This commit is contained in:
@@ -245,6 +245,11 @@ type Config struct {
|
||||
// The key used to store tokens is the ServerName from the tls.Config, if set
|
||||
// otherwise the token is associated with the server's IP address.
|
||||
TokenStore TokenStore
|
||||
// InitialStreamFlowControlWindow is the initial size of the stream-level flow control window for receiving data.
|
||||
// If the application is consuming data quickly enough, the flow control auto-tuning algorithm
|
||||
// will increase the window up to MaxReceiveStreamFlowControlWindow.
|
||||
// If this value is zero, it will default to 512 KB.
|
||||
InitialStreamFlowControlWindow uint64
|
||||
// MaxReceiveStreamFlowControlWindow is the maximum stream-level flow control window for receiving data.
|
||||
// If this value is zero, it will default to 6 MB.
|
||||
MaxReceiveStreamFlowControlWindow uint64
|
||||
|
||||
Reference in New Issue
Block a user