netty5/codec-http2
Norman Maurer 9c39c0de35 Ensure we can correctly propagate exceptions to streams even if endStream flag is set (#11105)
Motivation:

We need to ensure we are still be able to correctly map errors to streams in all cases. The problem was that we sometimes called closeStreamRemote(...) in a finally block and so closed the underyling stream before the actual exception was propagated. This was only true in some cases and not in all. Generally speaking we should only call closeStreamRemote(...) if there was no error as in a case of error we should generate a RST frame.

Modifications:

- Only call closeStreamRemote(...) if no exeption was thrown and so let the Http2ConnectionHandler handle the exception correctly
- Add unit tests

Result:

Correctly handle errors even when endStream is set to true
2021-03-23 20:28:00 +01:00
..
src Ensure we can correctly propagate exceptions to streams even if endStream flag is set (#11105) 2021-03-23 20:28:00 +01:00
pom.xml Propagate SSLException to the Http2StreamChannels (#11023) 2021-02-19 08:41:55 +01:00