Hi all, is it possible to somehow configure the so...
# http4k
a
Hi all, is it possible to somehow configure the socket timeout for the Java8HttpClient? Cannot find it in the docs 😞
s
Currently, there’s no option to configure that directly. It should be easy enough to add though as it seems like those are just parameters to be added to the underlying
HttpURLConnection
.
The easiest option to unblock you is to copy the
Java8HttpClient
implementation (~50 lines of code) and customise for your needs.
a
Ah I see. Good idea, that helps. Thank you very much 🙂
s
I’ve made it configurable and it should be available in
v4.17.1.0
(being released as we speak)
a
thanks 🙂