Nim httpclient connection pool exhaustion under high async concurrency
Nim's standard library httpclient reuses TCP connections via keep-alive through an internal connection pool. In applications that issue many concurrent requests with asyncdispatch , the pool can saturate when the number of in-flight requests exceeds the hard-coded idle-connection limit per host. Because the stdlib does not expose a public API to tune the poo