RE: Host name resolution

2016-05-18 Thread Mark A. Claassen
: mailto:mclaas...@ocie.net Voice: (574)232-3784 Fax: (574)232-4014 -Original Message- From: e...@zusammenkunft.net [mailto:e...@zusammenkunft.net] Sent: Wednesday, May 18, 2016 3:09 PM To: HttpClient User Discussion Subject: Re: Host name resolution There are lots of reasons, and unfortunatelly

Re: Host name resolution

2016-05-18 Thread ecki
: "Mark A. Claassen" To: HttpClient User Discussion Sent: Mi., 18 Mai 2016 16:47 Subject: Host name resolution Every once in a while, it seems that my apache HTTP client seems to resolve a host name different that when I use the command line. We had done some infrastructure work (month

Host name resolution

2016-05-18 Thread Mark A. Claassen
Every once in a while, it seems that my apache HTTP client seems to resolve a host name different that when I use the command line. We had done some infrastructure work (months ago) and some of our internal domain names had changed. Now, everything will work fine, until all of a sudden it will

Re: What is the preferred way to override host name resolution in HC 4.1?

2011-10-14 Thread Vasile Alin
gt; implementation to the socket factory.  It looks like in HC 4.1, this is >> deprecated.  What is the preferred way of customizing host name resolution? >> >> I took a look at the source code, and I am guessing I will need to override >> DefaultClientConnectionOpera

Re: What is the preferred way to override host name resolution in HC 4.1?

2011-10-14 Thread Vasile Alin
 What is the preferred way of customizing host name resolution? > > I took a look at the source code, and I am guessing I will need to override > DefaultClientConnectionOperator.resolveHostName().  But I want to be sure > this is the best way. For HC 4.1 I would say the same, this loo

What is the preferred way to override host name resolution in HC 4.1?

2011-10-14 Thread Matt Solnit
Hi everyone. In HC 4.0, the way that a host name is converted to an InetAddress object could be overridden by passing a custom HostNameResolver implementation to the socket factory. It looks like in HC 4.1, this is deprecated. What is the preferred way of customizing host name resolution? I