Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Netty 4.1.43 #48484

Merged
merged 1 commit into from
Oct 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ slf4j = 1.6.2
# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 4.5.1

netty = 4.1.42.Final
netty = 4.1.43.Final
joda = 2.10.3

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
781cd7cfc1118bdfe1538f39cc1f4d07d6254094
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ public class NettyAllocator {
}
}

public static boolean useCopySocket() {
return ALLOCATOR instanceof NoDirectBuffers;
}

public static ByteBufAllocator getAllocator() {
return ALLOCATOR;
}
Expand Down Expand Up @@ -148,26 +144,17 @@ public ByteBuf heapBuffer(int initialCapacity, int maxCapacity) {

@Override
public ByteBuf directBuffer() {
// TODO: Currently the Netty SslHandler requests direct ByteBufs even when interacting with the
// JDK SSLEngine. This will be fixed in a future version of Netty. For now, return a heap
// ByteBuf. After a Netty upgrade, return to throwing UnsupportedOperationException
return heapBuffer();
throw new UnsupportedOperationException("Direct buffers not supported");
}

@Override
public ByteBuf directBuffer(int initialCapacity) {
// TODO: Currently the Netty SslHandler requests direct ByteBufs even when interacting with the
// JDK SSLEngine. This will be fixed in a future version of Netty. For now, return a heap
// ByteBuf. After a Netty upgrade, return to throwing UnsupportedOperationException
return heapBuffer(initialCapacity);
throw new UnsupportedOperationException("Direct buffers not supported");
}

@Override
public ByteBuf directBuffer(int initialCapacity, int maxCapacity) {
// TODO: Currently the Netty SslHandler requests direct ByteBufs even when interacting with the
// JDK SSLEngine. This will be fixed in a future version of Netty. For now, return a heap
// ByteBuf. After a Netty upgrade, return to throwing UnsupportedOperationException
return heapBuffer(initialCapacity, maxCapacity);
throw new UnsupportedOperationException("Direct buffers not supported");
}

@Override
Expand Down

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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