Commit Graph

21 Commits

Author SHA1 Message Date
Lucas Clemente
d01f9880be Use gomocked CPM in the flowcontrol tests 2017-06-09 12:20:36 +02:00
Quentin De Coninck
48ed55a01d fix stalls when retransmitting connection-level Window Update Frames
When a Window Update Frame with streamID 0 is lost, we want to know
the receive window when retransmitting the frame. However, the connection
flow controller is not in streamFlowController, leading to map access errors
and then connections stalls since the sender is stuck by the not-updated
receive window it previously received.
2017-06-07 10:38:36 +02:00
Marten Seemann
f0975d4a7e store connection flow controller separately in flow control manager 2017-02-08 14:28:45 +07:00
Marten Seemann
291e6c1344 store in flow controller if a stream contributes to connection flow control 2017-02-08 11:48:13 +07:00
Marten Seemann
db11b25790 ensure minimum size of connection-level flow control window
fixes #409
2017-02-08 11:39:33 +07:00
Marten Seemann
84bda1a9f4 improve tests and test coverage of flow control manager 2017-02-08 11:35:30 +07:00
Marten Seemann
7ce7203f16 simplify variable and function names in flow controller 2017-02-08 09:01:45 +07:00
Marten Seemann
7a91794292 send RST_STREAM frames
ref #380
2017-01-09 09:49:44 +07:00
Marten Seemann
544a58a038 return total bytes sent when resetting a stream in the flow controller 2017-01-03 16:09:18 +07:00
Marten Seemann
74edf9caad improve errors returned for flow control violations 2017-01-03 12:01:27 +07:00
Marten Seemann
fb3f753c94 add method to reset a stream at a byte offset to flow controller
ref #377
2017-01-03 11:32:42 +07:00
Marten Seemann
ba85908fd7 use a mock ConnectionParameterManager in flow controller tests 2016-12-08 18:52:46 +07:00
Marten Seemann
ebc053dbe0 create interface for the ConnectionParametersManager 2016-12-08 18:39:14 +07:00
Marten Seemann
32d89eee02 pass RTTStats to the FlowControllers
ref #106
2016-10-30 17:36:36 +07:00
Lucas Clemente
2592b9a97c optimize window update generation, reducing profiler footprint by 8% 2016-09-15 09:12:44 +02:00
Lucas Clemente
3a88a8cffa delete flow controllers for closed streams
fixes #177
2016-07-28 16:45:55 +02:00
Lucas Clemente
3aa8b1bf37 remove fcm.StreamContributesToConnectionFlowControl 2016-07-26 17:09:24 +02:00
Lucas Clemente
5f774c8e03 change fcm.SendWindowSize to include conn window to simplify framer 2016-07-26 17:06:54 +02:00
Marten Seemann
1b732a4afa add method to FlowControlManager to tell if Stream contribues to connection-level flow control 2016-07-06 10:17:42 +02:00
Marten Seemann
ac54ac66c7 add methods for sending data to FlowControlManager 2016-07-06 10:14:17 +02:00
Marten Seemann
800320ec39 implement basic FlowControlManager 2016-06-15 18:53:54 +07:00