hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Weber (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-711) BasicRouteDirector incorrectly calculates complex routes
Date Wed, 12 Dec 2007 17:50:43 GMT

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

Roland Weber commented on HTTPCLIENT-711:

Hmmm... it seems this is only half the story. The DefaultHttpRoutePlanner will use the same
value for both "layered" and "secure", which is not what we are seeing in your log. The buggy
code is in DefaultClientRequestDirector, method handleResponse:

            HttpRoute newRoute = new HttpRoute(
                    (proxy != null),
                    (proxy != null));

The director should rather use the RoutePlanner from the client to compute the route for the
redirected request.


> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org

View raw message