Skip to content

Commit 4f8b2d2

Browse files
authored
Update to Netty 4.1.80.Final (#4359) (#4377)
Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 236f2f6) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: Andriy Redko <[email protected]>
1 parent 44666a9 commit 4f8b2d2

File tree

46 files changed

+49
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+49
-27
lines changed

buildSrc/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ slf4j = 1.6.2
2020
# when updating the JNA version, also update the version in buildSrc/build.gradle
2121
jna = 5.5.0
2222

23-
netty = 4.1.73.Final
23+
netty = 4.1.80.Final
2424
joda = 2.10.12
2525

2626
# when updating this version, you need to ensure compatibility with:

modules/transport-netty4/build.gradle

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ thirdPartyAudit {
120120
'com.aayushatharva.brotli4j.Brotli4jLoader',
121121
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Status',
122122
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper',
123-
'com.aayushatharva.brotli4j.encoder.Encoder',
123+
'com.aayushatharva.brotli4j.encoder.Encoders',
124124
'com.aayushatharva.brotli4j.encoder.Encoder$Mode',
125125
'com.aayushatharva.brotli4j.encoder.Encoder$Parameters',
126126
// classes are missing
@@ -139,6 +139,14 @@ thirdPartyAudit {
139139
'org.apache.log4j.Level',
140140
'org.apache.log4j.Logger',
141141

142+
// from io.netty.handler.ssl.OpenSslEngine (netty)
143+
'org.bouncycastle.openssl.PEMEncryptedKeyPair',
144+
'org.bouncycastle.openssl.PEMParser',
145+
'org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter',
146+
'org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder',
147+
'org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder',
148+
'org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo',
149+
142150
// from io.netty.handler.ssl.OpenSslEngine (netty)
143151
'io.netty.internal.tcnative.Buffer',
144152
'io.netty.internal.tcnative.Library',
@@ -199,8 +207,11 @@ thirdPartyAudit {
199207
'net.jpountz.lz4.LZ4FastDecompressor',
200208
'net.jpountz.xxhash.XXHash32',
201209
'net.jpountz.xxhash.XXHashFactory',
210+
'io.netty.channel.unix.FileDescriptor',
211+
'io.netty.channel.unix.UnixChannel',
202212
'io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod',
203213
'io.netty.internal.tcnative.AsyncTask',
214+
'io.netty.internal.tcnative.CertificateCompressionAlgo',
204215
'io.netty.internal.tcnative.CertificateCallback',
205216
'io.netty.internal.tcnative.CertificateVerifier',
206217
'io.netty.internal.tcnative.ResultCallback',
@@ -227,7 +238,8 @@ thirdPartyAudit {
227238
'io.netty.util.internal.PlatformDependent0$1',
228239
'io.netty.util.internal.PlatformDependent0$2',
229240
'io.netty.util.internal.PlatformDependent0$3',
230-
'io.netty.util.internal.PlatformDependent0$5',
241+
'io.netty.util.internal.PlatformDependent0$4',
242+
'io.netty.util.internal.PlatformDependent0$6',
231243
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueConsumerNodeRef',
232244
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueProducerNodeRef',
233245
'io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields',

modules/transport-netty4/licenses/netty-buffer-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a087321a63d9991e25f7b7d24ef53edcbcb954ff

modules/transport-netty4/licenses/netty-codec-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4941821a158d16311665d8606aefa610ecf0f64c

modules/transport-netty4/licenses/netty-codec-http-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
efb23f9d5187d2f733595ef7930137f0cb2cec48

modules/transport-netty4/licenses/netty-common-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3d43ce22863bc590e4e33fbdabbb58dc05f4c43d

modules/transport-netty4/licenses/netty-handler-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cf7029d2f9bc4eeae8ff15af7a528d06b518a017

modules/transport-netty4/licenses/netty-resolver-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3bbb0d4bfbbab867e5b757b97a6e5e0d1348d94c

modules/transport-netty4/licenses/netty-transport-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
57fcace7a1b8567aa39921c915d1b1ba78fd4d2d

modules/transport-netty4/src/javaRestTest/java/org/opensearch/rest/Netty4BadRequestIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void testBadRequest() throws IOException {
8686
() -> client().performRequest(new Request(randomFrom("GET", "POST", "PUT"), path))
8787
);
8888
assertThat(e.getResponse().getStatusLine().getStatusCode(), equalTo(BAD_REQUEST.getStatus()));
89-
assertThat(e, hasToString(containsString("too_long_frame_exception")));
89+
assertThat(e, hasToString(containsString("too_long_http_line_exception")));
9090
assertThat(e, hasToString(matches("An HTTP line is larger than \\d+ bytes")));
9191
}
9292

plugins/repository-azure/licenses/netty-codec-dns-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6926d2ea779f41071ecb1948d880dfbb3a6ee126

plugins/repository-azure/licenses/netty-codec-http2-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bf7b66834188ef1a6f6095291c6b81a1880798ba

plugins/repository-azure/licenses/netty-codec-socks-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
00025b767be3425f3b31a34ee095c85619169f17

plugins/repository-azure/licenses/netty-handler-proxy-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9b3b42ff805723fb98120f5ab2019c53e71da91b

plugins/repository-azure/licenses/netty-resolver-dns-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6b1602f80b6235b0b7d53bc5e9c1a6cd11c1b804

plugins/repository-azure/licenses/netty-transport-native-unix-common-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
da3d7da1a8d317ae2c82b400fd255fe610c43ebe

plugins/repository-hdfs/licenses/netty-all-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
39e73b76a3ec65df731b371179e15f2c3e4e7575

plugins/transport-nio/build.gradle

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ thirdPartyAudit {
6161
'com.aayushatharva.brotli4j.Brotli4jLoader',
6262
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Status',
6363
'com.aayushatharva.brotli4j.decoder.DecoderJNI$Wrapper',
64-
'com.aayushatharva.brotli4j.encoder.Encoder',
64+
'com.aayushatharva.brotli4j.encoder.Encoders',
6565
'com.aayushatharva.brotli4j.encoder.Encoder$Mode',
6666
'com.aayushatharva.brotli4j.encoder.Encoder$Parameters',
6767

@@ -83,6 +83,12 @@ thirdPartyAudit {
8383
'org.bouncycastle.cert.X509v3CertificateBuilder',
8484
'org.bouncycastle.cert.jcajce.JcaX509CertificateConverter',
8585
'org.bouncycastle.operator.jcajce.JcaContentSignerBuilder',
86+
'org.bouncycastle.openssl.PEMEncryptedKeyPair',
87+
'org.bouncycastle.openssl.PEMParser',
88+
'org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter',
89+
'org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder',
90+
'org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder',
91+
'org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo',
8692

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

144150
// from io.netty.handler.ssl.OpenSslEngine (netty)
151+
'io.netty.channel.unix.FileDescriptor',
152+
'io.netty.channel.unix.UnixChannel',
145153
'io.netty.internal.tcnative.AsyncSSLPrivateKeyMethod',
146154
'io.netty.internal.tcnative.AsyncTask',
147155
'io.netty.internal.tcnative.Buffer',
156+
'io.netty.internal.tcnative.CertificateCompressionAlgo',
148157
'io.netty.internal.tcnative.Library',
149158
'io.netty.internal.tcnative.ResultCallback',
150159
'io.netty.internal.tcnative.SSL',
@@ -167,7 +176,8 @@ thirdPartyAudit {
167176
'io.netty.util.internal.PlatformDependent0$1',
168177
'io.netty.util.internal.PlatformDependent0$2',
169178
'io.netty.util.internal.PlatformDependent0$3',
170-
'io.netty.util.internal.PlatformDependent0$5',
179+
'io.netty.util.internal.PlatformDependent0$4',
180+
'io.netty.util.internal.PlatformDependent0$6',
171181
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueConsumerNodeRef',
172182
'io.netty.util.internal.shaded.org.jctools.queues.BaseLinkedQueueProducerNodeRef',
173183
'io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields',

plugins/transport-nio/licenses/netty-buffer-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a087321a63d9991e25f7b7d24ef53edcbcb954ff

plugins/transport-nio/licenses/netty-codec-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4941821a158d16311665d8606aefa610ecf0f64c

plugins/transport-nio/licenses/netty-codec-http-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
efb23f9d5187d2f733595ef7930137f0cb2cec48

plugins/transport-nio/licenses/netty-common-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3d43ce22863bc590e4e33fbdabbb58dc05f4c43d

plugins/transport-nio/licenses/netty-handler-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cf7029d2f9bc4eeae8ff15af7a528d06b518a017

plugins/transport-nio/licenses/netty-resolver-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3bbb0d4bfbbab867e5b757b97a6e5e0d1348d94c

plugins/transport-nio/licenses/netty-transport-4.1.73.Final.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
57fcace7a1b8567aa39921c915d1b1ba78fd4d2d

0 commit comments

Comments
 (0)