Closed alex-anthropic closed 6 months ago
Adds a test that demonstrates bad behavior with the previous implementation of keep_alive_max_requests in HTTP/1.1 and fixes the issue.
keep_alive_max_requests
Previously this would die with httpx.ReadError: socket connection broken: [Errno 54] Connection reset by peer
httpx.ReadError: socket connection broken: [Errno 54] Connection reset by peer
after the third request
Adds a test that demonstrates bad behavior with the previous implementation of
keep_alive_max_requests
in HTTP/1.1 and fixes the issue.Previously this would die with
httpx.ReadError: socket connection broken: [Errno 54] Connection reset by peer
after the third request