netty5/codec-http/src/test/java/io/netty/handler/codec/http
Norman Maurer c565805f1b
Do not manually reset HttpObjectDecoder in HttpObjectAggregator.handleOversizedMessage(...) (#9017) (#9156)
Motivation:

We did manually call HttpObjectDecoder.reset() in HttpObjectAggregator.handleOversizedMessage(...) which is incorrect and will prevent correct parsing of the next message.

Modifications:

- Remove call to HttpObjectDecoder.reset()
- Add unit test

Result:

Verify that we can correctly parse the next request after we rejected a request.
2019-05-17 21:18:03 +02:00
..
cookie Print correct invalid character after unwrapping value in CookieEncoder 2018-06-21 08:19:01 +02:00
cors Fixes NPE in Corshandler for unauthorized prefligt requests (#7865) 2018-04-13 14:36:45 +02:00
multipart Allow to call AbstractDiskHttpData.setContent(Unpooled.EMPTY_BUFFER) multiple times. (#7890) 2018-04-30 08:39:24 +02:00
websocketx WebSocket client handshaker to support "force close" after timeout (#8896) 2019-04-10 15:25:34 +02:00
CombinedHttpHeadersTest.java Set-Cookie headers should not be combined (#8611) 2018-12-01 10:47:18 +01: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
EmptyHttpHeadersInitializationTest.java Move EmptyHttpHeaders.INSTANCE initialization to inner class. 2017-11-17 16:31:09 +01:00
HttpChunkedInputTest.java Fix possible NPE in HttpCunkedInput if wrapped ChunkedInput.readChunk(...) return null. 2016-06-17 06:27:04 +02:00
HttpClientCodecTest.java Correctly handle WebSockets 00 when using HttpClientCodec. 2017-11-03 15:55:22 +01:00
HttpClientUpgradeHandlerTest.java Don't replace all 'connection' headers when sending h2c upgrade request (#7824) 2018-04-01 19:59:30 +02:00
HttpContentCompressorTest.java Set result for decoded request and add test for #8721 (#8721) 2019-01-21 07:45:03 +01:00
HttpContentDecoderTest.java Set result for decoded request and add test for #8721 (#8721) 2019-01-21 07:45:03 +01:00
HttpContentDecompressorTest.java HttpContentDecoder must continue read when it did not produce any mes… (#8922) 2019-03-07 10:31:51 +01:00
HttpContentEncoderTest.java Set result for decoded request and add test for #8721 (#8721) 2019-01-21 07:45:03 +01:00
HttpHeaderDateFormatTest.java Fix most inspector warnings 2014-07-02 19:55:07 +09: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 Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
HttpInvalidMessageTest.java Deprecation cleanup for HTTP headers 2015-09-09 14:30:21 -07:00
HttpObjectAggregatorTest.java Do not manually reset HttpObjectDecoder in HttpObjectAggregator.handleOversizedMessage(...) (#9017) (#9156) 2019-05-17 21:18:03 +02:00
HttpRequestDecoderTest.java Add tests for HttpObjectDecoder related to limits 2017-11-28 13:38:01 +01:00
HttpRequestEncoderTest.java Add testcase for writing empty last content with headers. 2017-11-21 07:45:58 +01:00
HttpResponseDecoderTest.java HttpObjectDecoder ignores HTTP trailer header when empty line is rece… (#8799) 2019-01-31 20:27:47 +01: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 Fix handling of FullHttpResponse when respond to HEAD in HttpServerCodec 2016-12-21 20:53:02 +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 HttpServerUpgradeHandler shouldn't wait for flush to reshape pipeline 2018-03-28 19:54:30 +02:00
HttpUtilTest.java Fix HttpUtil.isKeepAlive to behave correctly when Connection is a comma separated list (#8924) 2019-03-13 14:28:28 +01:00
QueryStringDecoderTest.java Added QueryStringDecoder.rawPath() and rawQuery() 2017-10-24 09:32:06 +02:00
QueryStringEncoderTest.java Fix regression in QueryStringEncoder 2017-04-17 19:32:50 +02:00
ReadOnlyHttpHeadersTest.java ReadOnlyHttpHeaders 2017-11-06 21:58:16 -08:00