netty: update to 4.1.2.Final and tcnative Fork18

This commit is contained in:
Jakob Buchgraber 2016-07-12 08:06:19 +02:00 committed by GitHub
parent e9643bb5d7
commit edf2c62fd5
3 changed files with 5 additions and 5 deletions

View File

@ -151,9 +151,9 @@ subprojects {
protobuf_plugin: 'com.google.protobuf:protobuf-gradle-plugin:0.7.7',
protobuf_util: "com.google.protobuf:protobuf-java-util:${protobufVersion}",
netty: 'io.netty:netty-codec-http2:[4.1.1.Final]',
netty_epoll: 'io.netty:netty-transport-native-epoll:4.1.1.Final' + epoll_suffix,
netty_tcnative: 'io.netty:netty-tcnative-boringssl-static:1.1.33.Fork17',
netty: 'io.netty:netty-codec-http2:[4.1.2.Final]',
netty_epoll: 'io.netty:netty-transport-native-epoll:4.1.2.Final' + epoll_suffix,
netty_tcnative: 'io.netty:netty-tcnative-boringssl-static:1.1.33.Fork18',
// Test dependencies.
junit: 'junit:junit:4.11',

View File

@ -116,7 +116,7 @@ class NettyClientHandler extends AbstractNettyHandler {
Ticker ticker) {
Preconditions.checkArgument(maxHeaderListSize > 0, "maxHeaderListSize must be positive");
Http2HeadersDecoder headersDecoder = new DefaultHttp2HeadersDecoder(
maxHeaderListSize, Http2CodecUtil.DEFAULT_HEADER_TABLE_SIZE, true);
maxHeaderListSize, Http2CodecUtil.DEFAULT_HEADER_TABLE_SIZE, true, 32);
Http2FrameReader frameReader = new DefaultHttp2FrameReader(headersDecoder);
Http2FrameWriter frameWriter = new DefaultHttp2FrameWriter();
Http2Connection connection = new DefaultHttp2Connection(false);

View File

@ -108,7 +108,7 @@ class NettyServerHandler extends AbstractNettyHandler {
Preconditions.checkArgument(maxHeaderListSize > 0, "maxHeaderListSize must be positive");
Http2FrameLogger frameLogger = new Http2FrameLogger(LogLevel.DEBUG, NettyServerHandler.class);
Http2HeadersDecoder headersDecoder = new DefaultHttp2HeadersDecoder(
maxHeaderListSize, Http2CodecUtil.DEFAULT_HEADER_TABLE_SIZE, true);
maxHeaderListSize, Http2CodecUtil.DEFAULT_HEADER_TABLE_SIZE, true, 32);
Http2FrameReader frameReader = new Http2InboundFrameLogger(
new DefaultHttp2FrameReader(headersDecoder), frameLogger);
Http2FrameWriter frameWriter =