enforce max streams per connection limit

fixes #13
This commit is contained in:
Lucas Clemente
2016-05-27 22:39:37 +02:00
parent 4af8ab3e9c
commit c546f5c9dc
4 changed files with 39 additions and 3 deletions

View File

@@ -46,6 +46,7 @@ func NewConnectionParamatersManager() *ConnectionParametersManager {
sendConnectionFlowControlWindow: protocol.InitialConnectionFlowControlWindow, // can only be changed by the client
receiveStreamFlowControlWindow: protocol.ReceiveStreamFlowControlWindow,
receiveConnectionFlowControlWindow: protocol.ReceiveConnectionFlowControlWindow,
maxStreamsPerConnection: protocol.MaxStreamsPerConnection,
}
}