This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.2.X by this push:
     new 9cf592c59 Changed the default value for ENABLE_ASYNC_TASKS from true 
to false. The SslEngine tasks are now executed one after the other. This was 
potentially a cause of error when dealing with huge messages.
9cf592c59 is described below

commit 9cf592c596ad17b5e70ea41cb51659e9f831be75
Author: Emmanuel Lécharny <[email protected]>
AuthorDate: Thu Oct 16 14:55:40 2025 +0200

    Changed the default value for ENABLE_ASYNC_TASKS from true to false. The
    SslEngine tasks are now executed one after the other.
    This was potentially a cause of error when dealing with huge messages.
    
    Many thanks to Jan Zelmer who has analysed the root cause of this issue
    (DIRAPI-423)
---
 mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java 
b/mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java
index 7a4a18efa..78a8cdbbb 100644
--- a/mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java
+++ b/mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java
@@ -67,9 +67,9 @@ import java.util.concurrent.Executor;
     static protected final boolean ENABLE_FAST_HANDSHAKE = true;
 
     /**
-     * Enable asynchronous tasks
+     * Enable asynchronous tasks. Default to false.
      */
-    static protected final boolean ENABLE_ASYNC_TASKS = true;
+    static protected final boolean ENABLE_ASYNC_TASKS = false;
 
     /**
      * Indicates whether the first handshake was completed

Reply via email to