netty5/codec-http/src/main
Norman Maurer 8636aad989 Destroy HttpPostMultipartRequestDecoder if contructor throws (#11207)
Motivation:

We need to call destroy() if the constructor of HttpPostMultipartRequestDecoder throws as otherwise we may leak memory.

Modifications:

- Call destroy() if we throw
- Add unit test

Result:

No more leaks when constructor throws

Co-authored-by: Frederic Bregier <frederic.bregier@waarp.fr>
2021-04-28 12:27:37 +02:00
..
java/io/netty/handler/codec Destroy HttpPostMultipartRequestDecoder if contructor throws (#11207) 2021-04-28 12:27:37 +02:00
resources/META-INF/native-image/io.netty/codec-http Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00