forked from quic-go/quic-go
keep separate flow control windows for sending and receiving in ConnectionParametersManager
work towards #19, #20, #39
This commit is contained in:
@@ -23,3 +23,11 @@ const SmallPacketPayloadSizeThreshold = MaxPacketSize / 2
|
||||
|
||||
// SmallPacketSendDelay is the time delay applied to small packets
|
||||
const SmallPacketSendDelay = 500 * time.Microsecond
|
||||
|
||||
// ReceiveStreamFlowControlWindow is the stream-level flow control window for receiving data
|
||||
// TODO: set a reasonable value here
|
||||
const ReceiveStreamFlowControlWindow ByteCount = (1 << 20) // 1 MB
|
||||
|
||||
// ReceiveConnectionFlowControlWindow is the stream-level flow control window for receiving data
|
||||
// TODO: set a reasonable value here
|
||||
const ReceiveConnectionFlowControlWindow ByteCount = (1 << 20) // 1 MB
|
||||
|
||||
Reference in New Issue
Block a user