You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Sebastiano Vigna <vi...@di.unimi.it> on 2013/09/09 19:14:05 UTC

Re: Forcing IP address in HTTP requests

On 18 Jun 2013, at 3:29 PM, Oleg Kalnichevski <ol...@apache.org> wrote:

> On Tue, 2013-06-18 at 15:23 +0200, Sebastiano Vigna wrote:
>> On 18 Jun 2013, at 3:20 PM, Oleg Kalnichevski <ol...@apache.org> wrote:
>> 
>>> Are you using plain HttpCore or HttpClient?
>> 
>> DefaultHttpClient, actually. We're moving soon to the new (non-deprecated) classes.
>> 
>> Ciao,
>> 
> 
> Could you please run your app with connection management / context
> logging turned on and try to correlate what is going on inside
> HttpClient with DNS lookups?


We're using the new HttpClient now.

I have run the application and logged everything at DEBUG level. Moreover, I have the stack trace of every DNS call. We had a little run on our university server: all servers have 1 to 3 requests (OK because of redirects, which are handled by the client), but when fetching users.unimi.it DNS was resolved at each fetch. Can I email you the data?

Ciao,

					seba


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


Re: Forcing IP address in HTTP requests

Posted by Sebastiano Vigna <vi...@di.unimi.it>.
So sorry. Forget about it. Our university server have this crazy not-found page at users.unimi.it to which almost all robots.txt request are redirected.

Go figure.

Ciao,

					seba


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