SSL issue related to logging
----------------------------

                 Key: HTTPASYNC-9
                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-9
             Project: HttpComponents HttpAsyncClient
          Issue Type: Bug
    Affects Versions: 4.0-alpha3
            Reporter: Rosen Anastasov


The ManagedAsyncClientConnectionImpl decides if a route is secure with the 
following check:

conn.getIOSession() instanceof SSLIOSession

But depending on the log level the session will be either SSLIOSession (debug 
level lower than DEBUG) or LoggingIOSession (debug level DEBUG or higher). And 
since the LoggingIOSession is not instanceof SSLIOSession - the check is 
invalid. This effectively disables the HTTPS connections as the AsyncClient is 
unable to create route to the destination.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to