netty5/codec-http2/src/test/java/io/netty/handler/codec/http2
Jakob Buchgraber d5d932a739 Fix GOAWAY logic in Http2Encoder and Http2Decoder.
Motivation:

1) The current implementation doesn't allow for HEADERS, DATA, PING, PRIORITY and SETTINGS
   frames to be sent after GOAWAY.

2) When receiving or sending a GOAWAY frame, all streams with ids greater than the lastStreamId
   of the GOAWAY frame should be closed. That's not happening.

Modifications:

1) Allow sending of HEADERS and DATA frames after GOAWAY for streams with ids < lastStreamId.
2) Always allow sending PING, PRIORITY AND SETTINGS frames.
3) Allow sending multiple GOAWAY frames with decreasing lastStreamIds.
4) After receiving or sending a GOAWAY frame, close all streams with ids > lastStreamId.

Result:

The GOAWAY handling is more correct.
2015-04-07 20:32:28 -07:00
..
DataCompressionHttp2Test.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
DefaultHttp2ConnectionDecoderTest.java HTTP/2 LifecycleManager and Http2ConnectionHandler interface clarifications 2015-04-06 14:34:20 -07:00
DefaultHttp2ConnectionEncoderTest.java Fix GOAWAY logic in Http2Encoder and Http2Decoder. 2015-04-07 20:32:28 -07:00
DefaultHttp2ConnectionTest.java Fix GOAWAY logic in Http2Encoder and Http2Decoder. 2015-04-07 20:32:28 -07:00
DefaultHttp2FrameIOTest.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
DefaultHttp2HeadersDecoderTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2HeadersEncoderTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2HeadersTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2LocalFlowControllerTest.java Consolidating HTTP/2 stream state 2015-02-04 11:53:00 -08:00
DefaultHttp2RemoteFlowControllerTest.java HTTP/2 Closed Streams Conditional Priority Tree Removal 2015-03-31 16:24:25 -07:00
Http2ConnectionHandlerTest.java Fix GOAWAY logic in Http2Encoder and Http2Decoder. 2015-04-07 20:32:28 -07:00
Http2ConnectionRoundtripTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameRoundtripTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2HeaderBlockIOTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2SettingsTest.java Allow non-standard HTTP/2 settings 2015-04-02 11:10:47 -07:00
Http2TestUtil.java HTTP/2 Decoder reduce preface conditional checks 2015-03-28 18:52:35 -07:00
HttpToHttp2ConnectionHandlerTest.java Removing debugging change from unit test. 2015-02-11 09:07:08 -08:00
InboundHttp2ToHttpAdapterTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00