Skip to content

Commit

Permalink
Update to Netty 4.1.80.Final (opensearch-project#4359) (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#4377)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 236f2f6)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta authored Sep 1, 2022
1 parent 44666a9 commit 4f8b2d2
Show file tree
Hide file tree
Showing 46 changed files with 49 additions and 27 deletions.
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ slf4j = 1.6.2
# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 5.5.0

netty = 4.1.73.Final
netty = 4.1.80.Final
joda = 2.10.12

# when updating this version, you need to ensure compatibility with:
Expand Down
16 changes: 14 additions & 2 deletions modules/transport-netty4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ thirdPartyAudit {
'com.aayushatharva.brotli4j.Brotli4jLoader',
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Status',
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper',
'com.aayushatharva.brotli4j.encoder.Encoder',
'com.aayushatharva.brotli4j.encoder.Encoders',
'com.aayushatharva.brotli4j.encoder.Encoder$Mode',
'com.aayushatharva.brotli4j.encoder.Encoder$Parameters',
// classes are missing
Expand All @@ -139,6 +139,14 @@ thirdPartyAudit {
'org.apache.log4j.Level',
'org.apache.log4j.Logger',

// from io.netty.handler.ssl.OpenSslEngine (netty)
'org.bouncycastle.openssl.PEMEncryptedKeyPair',
'org.bouncycastle.openssl.PEMParser',
'org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter',
'org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder',
'org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder',
'org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo',

// from io.netty.handler.ssl.OpenSslEngine (netty)
'io.netty.internal.tcnative.Buffer',
'io.netty.internal.tcnative.Library',
Expand Down Expand Up @@ -199,8 +207,11 @@ thirdPartyAudit {
'net.jpountz.lz4.LZ4FastDecompressor',
'net.jpountz.xxhash.XXHash32',
'net.jpountz.xxhash.XXHashFactory',
'io.netty.channel.unix.FileDescriptor',
'io.netty.channel.unix.UnixChannel',
'io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod',
'io.netty.internal.tcnative.AsyncTask',
'io.netty.internal.tcnative.CertificateCompressionAlgo',
'io.netty.internal.tcnative.CertificateCallback',
'io.netty.internal.tcnative.CertificateVerifier',
'io.netty.internal.tcnative.ResultCallback',
Expand All @@ -227,7 +238,8 @@ thirdPartyAudit {
'io.netty.util.internal.PlatformDependent0$1',
'io.netty.util.internal.PlatformDependent0$2',
'io.netty.util.internal.PlatformDependent0$3',
'io.netty.util.internal.PlatformDependent0$5',
'io.netty.util.internal.PlatformDependent0$4',
'io.netty.util.internal.PlatformDependent0$6',
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueConsumerNodeRef',
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueProducerNodeRef',
'io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a087321a63d9991e25f7b7d24ef53edcbcb954ff

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4941821a158d16311665d8606aefa610ecf0f64c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
efb23f9d5187d2f733595ef7930137f0cb2cec48

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3d43ce22863bc590e4e33fbdabbb58dc05f4c43d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cf7029d2f9bc4eeae8ff15af7a528d06b518a017

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3bbb0d4bfbbab867e5b757b97a6e5e0d1348d94c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
57fcace7a1b8567aa39921c915d1b1ba78fd4d2d
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void testBadRequest() throws IOException {
() -> client().performRequest(new Request(randomFrom("GET", "POST", "PUT"), path))
);
assertThat(e.getResponse().getStatusLine().getStatusCode(), equalTo(BAD_REQUEST.getStatus()));
assertThat(e, hasToString(containsString("too_long_frame_exception")));
assertThat(e, hasToString(containsString("too_long_http_line_exception")));
assertThat(e, hasToString(matches("An HTTP line is larger than \\d+ bytes")));
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6926d2ea779f41071ecb1948d880dfbb3a6ee126

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bf7b66834188ef1a6f6095291c6b81a1880798ba

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00025b767be3425f3b31a34ee095c85619169f17

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9b3b42ff805723fb98120f5ab2019c53e71da91b

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6b1602f80b6235b0b7d53bc5e9c1a6cd11c1b804

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da3d7da1a8d317ae2c82b400fd255fe610c43ebe

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39e73b76a3ec65df731b371179e15f2c3e4e7575
14 changes: 12 additions & 2 deletions plugins/transport-nio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ thirdPartyAudit {
'com.aayushatharva.brotli4j.Brotli4jLoader',
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Status',
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper',
'com.aayushatharva.brotli4j.encoder.Encoder',
'com.aayushatharva.brotli4j.encoder.Encoders',
'com.aayushatharva.brotli4j.encoder.Encoder$Mode',
'com.aayushatharva.brotli4j.encoder.Encoder$Parameters',

Expand All @@ -83,6 +83,12 @@ thirdPartyAudit {
'org.bouncycastle.cert.X509v3CertificateBuilder',
'org.bouncycastle.cert.jcajce.JcaX509CertificateConverter',
'org.bouncycastle.operator.jcajce.JcaContentSignerBuilder',
'org.bouncycastle.openssl.PEMEncryptedKeyPair',
'org.bouncycastle.openssl.PEMParser',
'org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter',
'org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder',
'org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder',
'org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo',

// from io.netty.handler.ssl.JettyNpnSslEngine (netty)
'org.eclipse.jetty.npn.NextProtoNego$ClientProvider',
Expand Down Expand Up @@ -142,9 +148,12 @@ thirdPartyAudit {
'org.conscrypt.HandshakeListener',

// from io.netty.handler.ssl.OpenSslEngine (netty)
'io.netty.channel.unix.FileDescriptor',
'io.netty.channel.unix.UnixChannel',
'io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod',
'io.netty.internal.tcnative.AsyncTask',
'io.netty.internal.tcnative.Buffer',
'io.netty.internal.tcnative.CertificateCompressionAlgo',
'io.netty.internal.tcnative.Library',
'io.netty.internal.tcnative.ResultCallback',
'io.netty.internal.tcnative.SSL',
Expand All @@ -167,7 +176,8 @@ thirdPartyAudit {
'io.netty.util.internal.PlatformDependent0$1',
'io.netty.util.internal.PlatformDependent0$2',
'io.netty.util.internal.PlatformDependent0$3',
'io.netty.util.internal.PlatformDependent0$5',
'io.netty.util.internal.PlatformDependent0$4',
'io.netty.util.internal.PlatformDependent0$6',
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueConsumerNodeRef',
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueProducerNodeRef',
'io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a087321a63d9991e25f7b7d24ef53edcbcb954ff

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4941821a158d16311665d8606aefa610ecf0f64c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
efb23f9d5187d2f733595ef7930137f0cb2cec48

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3d43ce22863bc590e4e33fbdabbb58dc05f4c43d

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cf7029d2f9bc4eeae8ff15af7a528d06b518a017

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3bbb0d4bfbbab867e5b757b97a6e5e0d1348d94c

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
57fcace7a1b8567aa39921c915d1b1ba78fd4d2d

0 comments on commit 4f8b2d2

Please sign in to comment.