You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2019/04/16 10:13:33 UTC

[mina] branch 2.1 updated: overriding the getFuture() method for the SslFilter&EncryptedWriteRequest class in order to signal the proper Future. It fixes DIRMINA-1106.

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

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


The following commit(s) were added to refs/heads/2.1 by this push:
     new 45ecc54  overriding the getFuture() method for the SslFilter&EncryptedWriteRequest class in order to signal the proper Future. It fixes DIRMINA-1106.
45ecc54 is described below

commit 45ecc54275144866a75107ece7e50741ca526e22
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Tue Apr 16 12:13:29 2019 +0200

    overriding the getFuture() method for the
    SslFilter&EncryptedWriteRequest class in order to signal the proper
    Future. It fixes DIRMINA-1106.
---
 mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java b/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java
index 7fc2591..a8e9e31 100644
--- a/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java
+++ b/mina-core/src/main/java/org/apache/mina/filter/ssl/SslFilter.java
@@ -889,5 +889,13 @@ public class SslFilter extends IoFilterAdapter {
         public WriteRequest getParentRequest() {
             return parentRequest;
         }
+        
+        /**
+         * {@inheritDoc}
+         */
+        @Override
+        public WriteFuture getFuture() {
+            return parentRequest.getFuture();
+        }
     }
 }