hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KARR, DAVID (ATTSI)" <dk0...@att.com>
Subject RE: Connection retries
Date Thu, 04 Aug 2011 15:22:11 GMT
> -----Original Message-----
> From: KARR, DAVID (ATTSI)
> Sent: Thursday, August 04, 2011 8:20 AM
> To: HttpClient User Discussion
> Subject: Connection retries
> 
> I'd like to understand some things about how and why HttpClient
> "retries" connections that it can't make.  I've tried setting the
> "connection timeout" to 20 seconds, but what I see happen is that it
> actually tries to connect 6 times, each time timing out after 20
> seconds, where it says it's going to try another IP address (although
> there's only one possibility for my test).  I can understand where this
> is useful when a DNS name maps to multiple IP addresses.

Actually, I see that in my particular test, it was actually using different IP addresses,
so this is understandable.

> Is there any way to control the number of times it retries?  I couldn't
> find any obvious way to do this.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org


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


Mime
View raw message