netty5/codec-http2/src/test
nmittler 79a06eaede Fix NPE in Http2ConnectionHandler.onHttpServerUpgrade
Motivation:

Performing a server upgrade with a new initial flow control window will cause an NPE in the DefaultHttp2RemoteFlowController. This is due to the fact that the monitor does not check whether or not the channel is writable.

Modifications:

Added a check for channel writability before calling `writePendingBytes`. Also fixed a unit test that was supposed to be testing this :).

Result:

Fixes #5301
2016-05-25 09:13:06 -07:00
..
java/io/netty/handler/codec/http2 Fix NPE in Http2ConnectionHandler.onHttpServerUpgrade 2016-05-25 09:13:06 -07:00
resources/io/netty/handler/codec/http2/internal/hpack/testdata [#5088] Add annotation which marks packages/interfaces/classes as unstable 2016-05-09 15:16:35 +02:00