This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push: new c8bf84f155 Remove unnecessary code (shutdown() sets these values) c8bf84f155 is described below commit c8bf84f155eb2946cde7a14de04f196e68927294 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 914eafb901..99bd981944 100644 --- a/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java +++ b/java/org/apache/tomcat/util/net/openssl/OpenSSLEngine.java @@ -559,9 +559,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