[
https://issues.apache.org/jira/browse/HTTPCLIENT-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCLIENT-855.
------------------------------------------
Resolution: Won't Fix
HttpClient does not provide support for automatic multi-home fail-over on connect failures. A simple fail-over mechanism can be implemented using a custom socket factory such as MultihomePlainSocketFactory shipped with HttpClient 4.0.
http://hc.apache.org/httpcomponents-client/httpclient/xref/org/apache/http/conn/MultihomePlainSocketFactory.htmlMore complex fail-over scenarios that involve black listing of IP addresses should be implemented on top of HttpClient
Oleg
> DNS Multiple A Support
> ----------------------
>
> Key: HTTPCLIENT-855
> URL:
https://issues.apache.org/jira/browse/HTTPCLIENT-855> Project: HttpComponents HttpClient
> Issue Type: Question
> Components: HttpClient
> Affects Versions: 3.1 Final
> Environment: Windows
> Reporter: THIRION Yannick
> Priority: Minor
>
> I didn't find any documentation on using DNS multiple A with httpclient.
> I set up a 2 IP DNS configuration and tried to perform an HTTPS request to this DNS address.
> It looks like httpclient does not try to walk through the IPs.
> When the first IP connection failed due to connection refused it retryies on the first IP but didn't try to fallback to secondary IP.
> Is that the expected behavious?
> Note : I'm using a custom SSL handler to support PKCS11 java keystore
> Is httpclient compliant with multiple A? If yes, is there any special settings?
--
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:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...