On 22/02/2024 13:16, Óscar Frías Barranco wrote:
Thanks for your reply.  I have activated HttpClient logs and it looks like,
at least in this case, time is spent in DNS resolution.  Is there a way to
set a timeout for this (at the HttpClient level if that's possible, or at
the OS level otherwise) ?


I presume this might help

https://docs.oracle.com/en/java/javase/17/docs/api/jdk.naming.dns/module-summary.html

Oleg



Feb 22, 2024 1:10:24 PM
org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator
connect
FINE: www.anek.gr resolving remote address
Feb 22, 2024 1:10:39 PM
org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator
connect
FINE: www.anek.gr resolved to [www.anek.gr/212.205.13.103]

Óscar


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

Reply via email to