This is an automated email from the ASF dual-hosted git repository.
johnnyv pushed a change to branch 2.1.X
in repository https://gitbox.apache.org/repos/asf/mina.git.
from 60b4190 Performance improvement of UDP processing for DIRMINA-1095
add 99fbf4f DIRMINA-1107 is caused from a memory inconsistency in how CAS
operations are checked from within the SslHandler#flushScheduledEvents. This
CAS operation can be updated to correctly check for X > 0 but still leaves
situations where the CAS was incremented between the CAS loop exits and the
SslHandler#sslLock lock is released resulting in a false tryLock() == false
causing one or more message to be queued but never flushed until another
message is queued and tryLock() suc [...]
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/mina/filter/ssl/SslFilter.java | 125 ++++++++++-----------
.../org/apache/mina/filter/ssl/SslHandler.java | 50 ++++-----
.../org/apache/mina/filter/ssl/SslFilterTest.java | 13 ++-
3 files changed, 89 insertions(+), 99 deletions(-)