On Sun, 2013-12-08 at 21:32 +0100, Philippe Mouawad wrote: > Hello, > Profiling JMeter, I noticed an important number of SocketTimeoutException > being triggered without any impact on response status. > > I investigated it a bit deeper and find out it affected only HttpClient > implementations. > Looking a bit deeper, it is due to connection stale check which is enabled > by default. > This check sets a timeout to 1ms , see : > - org.apache.http.impl.io.SocketInputBuffer#isDataAvailable > - org.apache.http.impl.AbstractHttpClientConnection#isStale > > > Is this the only and best way to check for stale connection ? > > > Regards > Philippe
Philippe I personally do not know of a different (better) way of finding out whether or not a blocking connection is still valid. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org For additional commands, e-mail: httpclient-users-h...@hc.apache.org