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 2009/06/28 15:16:47 UTC
[jira] Resolved: (HTTPCLIENT-855) DNS Multiple A Support
[ 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.html
More 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@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org