http_proxy icon indicating copy to clipboard operation
http_proxy copied to clipboard

Handle automatic reconnects of `HTTP::Client`

Open syeopite opened this issue 7 months ago • 0 comments

When a long running connection is closed by the server HTTP::Client will try to reconnect by closing its @io and then constructing a new @io via its private io method which will reset the client back to the socket the standard HTTP::Client uses.

This means that a long running client that is using an HTTP proxy could become unproxied after some time.

Could this behavior be handled somehow?

syeopite avatar Jun 07 '25 18:06 syeopite