hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPASYNC-9) SSL issue related to logging
Date Sat, 26 Nov 2011 03:48:40 GMT

    [ https://issues.apache.org/jira/browse/HTTPASYNC-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157361#comment-13157361

Andy commented on HTTPASYNC-9:

Actaully, DefaultAsyncClientConnection shoud make sure return the raw IOSession on getIOSession
rather than a wrapped LogginIOSession object.
> 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
>             Fix For: 4.0-alpha4
> The ManagedAsyncClientConnectionImpl decides if a route is secure with the following
> 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

View raw message