netty5/codec-http
Violeta Georgieva 47bababfc7
Ensure HttpData#addContent/setContent releases the buffer before throwing IOException (#11621)
Motivation:
When the ByteBuf size exceeds the max limit/defined size, IOException is thrown.
HttpData#addContent/setContent should release the buffer in such cases otherwise memory leak will happen.

Modification:
- Release the provided ByteBuf before throwing IOException
- Add unit tests

Result:
Fixes #11618
2021-09-02 13:59:44 -07:00
..
src Ensure HttpData#addContent/setContent releases the buffer before throwing IOException (#11621) 2021-09-02 13:59:44 -07:00
pom.xml Fix support for optional encoders errors in HttpContentCompressor (#11582) 2021-08-19 08:40:25 +02:00