[
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(
newTarget,
localAddress,
proxy,
schm.isLayered(),
(proxy != null),
(proxy != null));
The director should rather use the RoutePlanner from the client to compute the
route for the redirected request.
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]