Cyrille QUÉMIN
03/31/2021, 8:17 AMinstall(HttpTimeout) {
requestTimeoutMillis =
connectTimeoutMillis =
}
And
engine {
endpoint {
connectTimeout =
connectRetryAttempts =
}
requestTimeout =
}
In particular I could see the timeout from HttpTimeout working but I could also see the default value of engine.requestTimeout being used (before I changed it). Also, which connectTimeout will be used ? HttpTimeout of the one engine.endpoint?
Note, I am using the CIO engine with Ktor 1.4.2Rustam Siniukov
03/31/2021, 2:26 PMengine { ... } block. But it can be more convenient to specify them all once by using HttpTimeout feature. In practice, it doesn’t handle connectTimeout and socketTimeout itself, but only sets it to engine. If you set both, HttpTimeout config will winCyrille QUÉMIN
04/01/2021, 9:23 AM