mirror of https://github.com/grpc/grpc-java.git
netty: update to 4.1.2.Final and tcnative Fork18
This commit is contained in:
parent
e9643bb5d7
commit
edf2c62fd5
|
@ -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',
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue