This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch cassandra-4.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-4.0 by this push:
new 7ea24711cc silence benign SslClosedEngineException
7ea24711cc is described below
commit 7ea24711cc10dd4d846427f76c30c347cbdf3d26
Author: Brandon Williams <[email protected]>
AuthorDate: Wed Apr 20 10:54:11 2022 -0500
silence benign SslClosedEngineException
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17565
---
CHANGES.txt | 1 +
src/java/org/apache/cassandra/net/SocketFactory.java | 3 +++
2 files changed, 4 insertions(+)
diff --git a/CHANGES.txt b/CHANGES.txt
index 6c31e17981..99847be043 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
4.0.5
+ * silence benign SslClosedEngineException (CASSANDRA-17565)
Merged from 3.11:
Merged from 3.0:
* Fix issue where frozen maps may not be serialized in the correct order
(CASSANDRA-17623)
diff --git a/src/java/org/apache/cassandra/net/SocketFactory.java
b/src/java/org/apache/cassandra/net/SocketFactory.java
index 8300c2a052..9d2f6adb18 100644
--- a/src/java/org/apache/cassandra/net/SocketFactory.java
+++ b/src/java/org/apache/cassandra/net/SocketFactory.java
@@ -54,6 +54,7 @@ import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.channel.unix.Errors;
import io.netty.handler.ssl.SslContext;
import io.netty.handler.ssl.SslHandler;
+import io.netty.handler.ssl.SslClosedEngineException;
import io.netty.util.concurrent.DefaultEventExecutorChooserFactory;
import io.netty.util.concurrent.DefaultThreadFactory;
import io.netty.util.concurrent.RejectedExecutionHandlers;
@@ -293,6 +294,8 @@ public final class SocketFactory
{
if (t instanceof ClosedChannelException)
return true;
+ if (t instanceof SslClosedEngineException)
+ return true;
if (t instanceof ConnectException)
return true;
if (t instanceof Errors.NativeIoException)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]