hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Addresses that do not Resolve an IP will cause an Error.
Date Wed, 01 Apr 2015 09:08:41 GMT
On Mon, 2015-03-30 at 15:18 -0600, Lucas Sapp wrote:
> Hello Everyone,
> I have discovered an issue when I try to reach addresses that do not
> resolve an IP address but are still valid and can be accessed with a
> SOCKS/HTTP Proxy. I am using HttpClient 4.3.4. The error seems to occur
> when it tries to resolve the address prior to connecting the socket. It
> throws an exception trying to resolve DNS in
> HttpClientConnectionOperator#Connect. I have verified that by making some
> changes it will correctly connect to the desired endpoint for SOCKS
> connections. I was curious to know if there is a better way to handle this,
> and if not, if there was any interest in including this functionality.
> Thanks,
> Lucas

Custom DnsResolver might be what you want.


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

View raw message