mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-1106) SSL/TLS error when using Apache LDAP API with MINA 2.1.1
Date Tue, 16 Apr 2019 09:41:00 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818838#comment-16818838
] 

Emmanuel Lecharny commented on DIRMINA-1106:
--------------------------------------------

After investigation, this is due to the modified {{SslFilter$EncryptedWriteRequest}} class
that does not override the {{getFuture}} method, returning a future that is not the original
one on which the API is waiting.

Adding the following method fixes the issue:

{code:java}
        /**
         * {@inheritDoc}
         */
        @Override
        public WriteFuture getFuture() {
            return parentRequest.getFuture();
        }
{code}

> SSL/TLS error when using Apache LDAP API with MINA 2.1.1
> --------------------------------------------------------
>
>                 Key: DIRMINA-1106
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1106
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.1.2
>
>
> When building Apache LDAP API with MINA 2.1.1, SSL/TLS connection returns an error after
a timeout has been reached (if the timeout is set to infinite, the API simply stall).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message