Add support for retiring old connections for HTTP clients. #179
Labels
area/io
General I/O and networking.
effort/intermediate
Involves changes that can be worked on by non-experts but might require guidance.
type/enhancement
An enhancement in functionality or support.
Milestone
Context
When building an HTTP client, we should be able to configure a time-to-live for all pooled connections, such that an individual connection that is idle can never be older than the configured TTL. This is useful for ensuring that new connections are periodically established to the downstream target system, aiding in scenarios like switching over to newly provisioned IPs when load balancer nodes are being replaced, etc.
Notes
This is not something currently exposed by
hyper-util
but I think, conceptually, could be easy enough to upstream.The text was updated successfully, but these errors were encountered: