Support proxy failover per ProxySelector API
--------------------------------------------

                 Key: HTTPCLIENT-1176
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1176
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2 Beta2
         Environment: All supported platforms/environments which use proxy 
failover
            Reporter: Jan-Willem Maarse


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 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to