netty5/testsuite-http2/src/main/java/io/netty/testsuite/http2
Norman Maurer e4995be33c Use allocator when constructing ByteBufHolder sub-types or use Unpool… (#9377)
Motivation:

In many places Netty uses Unpooled.buffer(0) while should use EMPTY_BUFFER. We can't change this due to back compatibility in the constructors but can use Unpooled.EMPTY_BUFFER in some cases to ensure we not allocate at all. In others we can directly use the allocator either from the Channel / ChannelHandlerContext or the request / response.

Modification:

- Use Unpooled.EMPTY_BUFFER where possible
- Use allocator where possible

Result:

Fixes #9345 for websockets and http package
2019-07-18 10:36:03 +02:00
..
HelloWorldHttp1Handler.java Use allocator when constructing ByteBufHolder sub-types or use Unpool… (#9377) 2019-07-18 10:36:03 +02:00
HelloWorldHttp2Handler.java Use long for http2 ping payload. 2018-02-08 10:23:34 +01:00
HelloWorldHttp2HandlerBuilder.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00
Http2Server.java Decouple EventLoop details from the IO handling for each transport to… (#8680) 2019-01-23 08:32:05 +01:00
Http2ServerInitializer.java Deprecate ChannelInboundHandlerAdapter and ChannelOutboundHandlerAdapter (#8929) 2019-03-13 09:46:10 +01:00
package-info.java Add h2spec test suite module to check if netty http2 implementation conforms with the specification 2017-12-16 13:18:19 +01:00