Skip to content

Commit 9cf592c

Browse files
author
Emmanuel Lécharny
committed
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)
1 parent 88b01a8 commit 9cf592c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mina-core/src/main/java/org/apache/mina/filter/ssl/SSLHandlerG1.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
static protected final boolean ENABLE_FAST_HANDSHAKE = true;
6868

6969
/**
70-
* Enable asynchronous tasks
70+
* Enable asynchronous tasks. Default to false.
7171
*/
72-
static protected final boolean ENABLE_ASYNC_TASKS = true;
72+
static protected final boolean ENABLE_ASYNC_TASKS = false;
7373

7474
/**
7575
* Indicates whether the first handshake was completed

0 commit comments

Comments
 (0)