99376c4391
Motivation: If the http2 encoder has exhausted all available stream IDs a GOAWAY frame is not sent. Once the encoder detects the a new stream ID has rolled over past the last stream ID a GOAWAY should be sent as recommended in section [5.1.1](https://tools.ietf.org/html/draft-ietf-httpbis-http2-14#section-5.1.1). Modifications: -This condition is already detected but it just needs to result in a GOAWAY being sent. -Add a subclass of Http2Exception so the encoder can detect this special case. -Add a unit test which checks that the GOAWAY is sent/received. Result: Encoder attempting to use the first 'rolled over' stream id results in a GOAWAY being sent. |
||
---|---|---|
.. | ||
src | ||
pom.xml |