netty5/codec-http/src
Norman Maurer 7f4ade7e7d Correctly propagate channelInactive even if cleanup throws
Motivation:

Its possible that cleanup() will throw if invalid data is passed into the wrapped EmbeddedChannel. We need to ensure we still call channelInactive(...) in this case.

Modifications:

- Correctly forward Exceptions caused by cleanup()
- Ensure all content is released when cleanup() throws
- Add unit tests

Result:

Correctly handle the case when cleanup() throws.
2017-11-21 11:55:39 +01:00
..
main/java/io/netty/handler/codec Correctly propagate channelInactive even if cleanup throws 2017-11-21 11:55:39 +01:00
test Correctly propagate channelInactive even if cleanup throws 2017-11-21 11:55:39 +01:00