netty5/codec-http/src/test/java/io/netty/handler/codec/http
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
..
cookie Add testcase for internal used Comparator in ClientCookieEncoder (#9897) 2019-12-20 08:50:27 +01:00
cors Rename SimpleChannelInboundHandler.channelRead0() to messageReceived() (#8819) 2019-11-01 07:23:07 +01:00
multipart Prevent any leaks when HttpPostStandardRequestDecoder constructor throws (#9837) 2019-12-04 13:58:22 +01:00
websocketx Utf8FrameValidator must release buffer when validation fails (#9909) 2019-12-27 09:16:07 +01:00
CombinedHttpHeadersTest.java Remove unnecessary code (#9303) 2019-07-04 09:02:24 +02:00
DefaultHttpHeadersTest.java Replace toArray(new T[size]) with toArray(new T[0]) to eliminate zero-out and allow the VM to optimize. (#8075) 2018-06-29 07:56:04 +02:00
DefaultHttpRequestTest.java Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
DefaultHttpResponseTest.java Correctly take status into account when compare DefaultHttpResponse (#7965) 2018-05-24 20:13:21 +02:00
HttpChunkedInputTest.java Fix possible NPE in HttpCunkedInput if wrapped ChunkedInput.readChunk(...) return null. 2016-06-17 06:27:04 +02:00
HttpClientCodecTest.java Rename SimpleChannelInboundHandler.channelRead0() to messageReceived() (#8819) 2019-11-01 07:23:07 +01:00
HttpClientUpgradeHandlerTest.java Deprecate ChannelInboundHandlerAdapter and ChannelOutboundHandlerAdapter (#8929) 2019-03-13 09:46:10 +01:00
HttpContentCompressorTest.java Fix HttpContentEncoder does not handle multiple Accept-Encoding (#9557) 2019-09-11 08:50:43 +02:00
HttpContentDecoderTest.java Ensure "full" ownership of msgs passed to EmbeddedChannel.writeInbound() (#9058) 2019-05-22 12:35:03 +02:00
HttpContentDecompressorTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
HttpContentEncoderTest.java #9867 fix confusing method parameter name (#9874) 2019-12-12 14:42:30 +01:00
HttpHeadersTest.java Make headers.set(self) a no-op instead of throwing. Makes it consistent with setAll 2015-11-06 07:00:54 -08:00
HttpHeadersTestUtils.java Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00
HttpInvalidMessageTest.java Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
HttpObjectAggregatorTest.java Fix typos in javadocs (#9527) 2019-10-09 15:25:41 +02:00
HttpRequestDecoderTest.java Verify we do not receive multiple content-length headers or a content-length and transfer-encoding: chunked header when using HTTP/1.1 (#9865) 2019-12-13 08:53:51 +01:00
HttpRequestEncoderTest.java Remove support for marking reader and writerIndex in ByteBuf to reduce overhead and complexity. (#8636) 2018-12-11 14:00:49 +01:00
HttpResponseDecoderTest.java Fix typos in javadocs (#9527) 2019-10-09 15:25:41 +02:00
HttpResponseEncoderTest.java Correctly handle responses with status 205 and payload. (#7891) 2018-05-03 11:25:06 +02:00
HttpResponseStatusTest.java HttpResponseStatus object allocation reduction 2018-01-24 22:01:52 -08:00
HttpServerCodecTest.java Remove the maxChunkSize parameter for HTTP codecs (#8671) 2018-12-20 07:37:51 +01:00
HttpServerExpectContinueHandlerTest.java Motivation: 2017-04-27 16:20:29 -07:00
HttpServerKeepAliveHandlerTest.java HttpServerKeepAliveHandler doesn't correctly handle VoidChannelPromise 2017-05-04 14:08:18 -07:00
HttpServerUpgradeHandlerTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
HttpUtilTest.java Fix HttpUtil.getCharset to not throw illegal charset exception (#9439) 2019-08-10 19:16:12 +02:00
QueryStringDecoderTest.java Support semicolons in query parameters as explain in the W3C recommentation (#9701) 2019-10-24 13:14:13 +02:00
QueryStringEncoderTest.java Separate out query string encoding for non-encoded strings. (#9887) 2019-12-20 08:51:26 +01:00
ReadOnlyHttpHeadersTest.java ReadOnlyHttpHeaders 2017-11-06 21:58:16 -08:00