improve sending of WindowUpdate frames

fixes #96
This commit is contained in:
Marten Seemann
2016-05-15 18:05:15 +07:00
parent a3ff4dd891
commit 089582dd9f
7 changed files with 173 additions and 89 deletions

View File

@@ -46,3 +46,6 @@ const MaxIdleConnectionStateLifetime = 60 * time.Second
// WindowUpdateThreshold is the size of the receive flow control window for which we send out a WindowUpdate frame
const WindowUpdateThreshold = ReceiveStreamFlowControlWindow / 2
// WindowUpdateNumRepitions is the number of times the same WindowUpdate frame will be sent to the client
const WindowUpdateNumRepitions uint8 = 2