Hello, I notice at CIO engine there's configuratio...
# ktor
d
Hello, I notice at CIO engine there's configuration called
maxConnectionsPerRoute
, Does it will count our route and set counter for each route ? Is there any documentation how it works ?
✔️ 1
👌 1
c
Please note that by route it is implied protocol+host+port
path is not included, it is an HTTP route, slightly different terminology
d
@cy noted, but does the mechanism of
maxConnectionsPerRoute
is set counter for each route ?
c
yes, it does
for example, if you have maxConnectionsPerRoute=4 then the connection pool will keep up to 4 connections for
<http://google.com|google.com>
and up to 4 connections for
<http://kotlinlang.org|kotlinlang.org>
and up to 4 connections for every other host/port/proto combination
d
Thanks for the explanation, Really appreciate 🙇