commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: [HttpClient] Timeout appears to be twice of requested
Date Thu, 03 Aug 2006 15:46:04 GMT
On Thu, 2006-08-03 at 08:33 -0700, lpcarmed wrote:
> When I setTimeout() set the SO_TIMEOUT I seems the actual timeout will be
> twice of the millisecond value I fed into setTimeout(). I used timeouts in
> the 3...10 seconds range, the exception came after exactly twice of that
> time. I'm using HttpClient 3.0 Rc2, but it also happens with 3.1 Alpha. The
> JDK is Sun 1.4.1_01 on windows. Has anyone seen/reported this before?

Socket timeout is the maximum period of inactivity between two
_consecutive_ read operations. 

Hope this helps

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message