Merge pull request #1006 from lucas-clemente/more-window-updates

decrease the threshold to send MAX_{STREAM}_DATA frames
This commit is contained in:
Marten Seemann
2017-12-12 18:30:55 +07:00
committed by GitHub
7 changed files with 47 additions and 66 deletions

View File

@@ -56,6 +56,9 @@ const DefaultMaxReceiveConnectionFlowControlWindowClient = 15 * (1 << 20) // 15
// This is the value that Chromium is using
const ConnectionFlowControlMultiplier = 1.5
// WindowUpdateThreshold is the fraction of the receive window that has to be consumed before an higher offset is advertised to the client
const WindowUpdateThreshold = 0.25
// MaxIncomingStreams is the maximum number of streams that a peer may open
const MaxIncomingStreams = 100