netty5/codec-http/src
Norman Maurer 961362f43f Utf8FrameValidator must release buffer when validation fails (#9909)
Motivation:

Utf8FrameValidator must release the input buffer if the validation fails to ensure no memory leak happens

Modifications:

- Catch exception, release frame and rethrow
- Adjust unit test

Result:

Fixes https://github.com/netty/netty/issues/9906
2019-12-27 09:16:07 +01:00
..
main Utf8FrameValidator must release buffer when validation fails (#9909) 2019-12-27 09:16:07 +01:00
test Utf8FrameValidator must release buffer when validation fails (#9909) 2019-12-27 09:16:07 +01:00