This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new 8a38b16258 Remove unnecessary code (shutdown() sets these values) 8a38b16258 is described below commit 8a38b1625889b2f4f8c76341943d9f404c5ee80f Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Aug 30 15:22:16 2024 +0100 Remove unnecessary code (shutdown() sets these values) --- java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java index 4be8027aa4..6b5e5f5288 100644 --- a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java +++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java @@ -561,9 +561,6 @@ public final class OpenSSLEngine extends SSLEngine implements SSLUtil.ProtocolIn // protect against protocol overflow attack vector if (len > MAX_ENCRYPTED_PACKET_LENGTH) { - isInboundDone = true; - isOutboundDone = true; - engineClosed = true; shutdown(); throw new SSLException(sm.getString("engine.oversizedPacket")); } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org