hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rosen Anastasov (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPASYNC-9) SSL issue related to logging
Date Tue, 15 Nov 2011 09:29:52 GMT
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message