[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551044
 ] 

Roland Weber commented on HTTPCLIENT-711:
-----------------------------------------

Yepp, have a look at impl.conn.DefaultHttpRoutePlanner:

        Scheme schm = this.connectionManager.getSchemeRegistry().
            getScheme(target.getSchemeName());
        // as it is typically used for TLS/SSL, we assume that
        // a layered scheme implies a secure connection
        boolean secure = schm.isLayered();

        HttpRoute route = null;
        if (proxy == null) {
            route = new HttpRoute(target, null, secure);
        } else {
            route = new HttpRoute(target, null, proxy, secure);
        }

And the constructor of Scheme has:

        this.layered = (factory instanceof LayeredSocketFactory);

cheers,
  Roland


> BasicRouteDirector incorrectly calculates complex routes
> --------------------------------------------------------
>
>                 Key: HTTPCLIENT-711
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-711
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>    Affects Versions: 4.0 Alpha 2
>            Reporter: Oleg Kalnichevski
>            Priority: Critical
>             Fix For: 4.0 Alpha 3
>
>
> BasicRouteDirector appears to miscalculate complex routes. Example to follow. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to