forked from quic-go/quic-go
Merge pull request #3083 from lucas-clemente/configure-initial-flow-control-window
make the initial stream / connection flow control windows configurable
This commit is contained in:
10
interface.go
10
interface.go
@@ -255,9 +255,19 @@ 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
|
||||
// InitialConnectionFlowControlWindow 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 MaxReceiveConnectionFlowControlWindow.
|
||||
// If this value is zero, it will default to 512 KB.
|
||||
InitialConnectionFlowControlWindow uint64
|
||||
// MaxReceiveConnectionFlowControlWindow is the connection-level flow control window for receiving data.
|
||||
// If this value is zero, it will default to 15 MB.
|
||||
MaxReceiveConnectionFlowControlWindow uint64
|
||||
|
||||
Reference in New Issue
Block a user