You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Jira)" <ji...@apache.org> on 2021/03/16 08:32:00 UTC

[jira] [Assigned] (HTTPCLIENT-1176) Support proxy failover per ProxySelector API

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski reassigned HTTPCLIENT-1176:
---------------------------------------------

    Assignee:     (was: Oleg Kalnichevski)

> Support proxy failover per ProxySelector API
> --------------------------------------------
>
>                 Key: HTTPCLIENT-1176
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1176
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient (classic)
>    Affects Versions: 4.2 Beta1
>         Environment: All supported platforms/environments which use proxy failover
>            Reporter: Jan-Willem Maarse
>            Priority: Minor
>             Fix For: 5.1
>
>         Attachments: ProxyFailoverFix.patch, ProxyFailoverTest.patch
>
>
> The ProxySelectorRoutePlanner selects a single proxy from the list returned by the java.net.ProxySelector API. If the client can't open a socket to the proxy, other proxies in the list are ignored and the request fails. It would be good if the Apache HttpClient could try other proxies in the list before failing on socket errors. HttpURLConnection provides similar behavior. This functionality is useful in network configurations where proxies can go up and down for maintenance, for example.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org