On 22/02/2024 11:53, Óscar Frías Barranco wrote:
Hello.
I am trying to configure HttpClient to validate a list of URLs and I don't
want it to take longer than 10 seconds for each URL. I have been searching
for all available timeout settings in HttpClient but, even after setting
them all to 2 seconds, HttpClient still takes longer than 10 seconds for
some URLs.
...
Am I missing a timeout setting? Are there missing knobs in HttpClient
configuration?
Hi Óscar
You are not missing any config nobs. You are confusing a socket timeouts
with a response deadline. HttpClient presently supports socket timeout
setting for read operations only and does not enforce a response deadline.
Socket timeout is basically a maximum period of inactivity between two
consecutive input events.
Hope this helps
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org