Repository navigation
Conversation
76a9abb to
6db6963
Compare
6db6963 to
5e45f65
Compare
|
Thanks for this. One gap worth covering: Repro against this branch:
The third row uses the pattern For context on the impact: we hit the timeout path in production with httpcore 1.0.9 behind a CONNECT proxy, on a client with |
|
I independently reproduced the proxy-tunnel leak on httpcore 1.0.9 with httpx 0.25.2. The cancellation gap described above also reproduces with a real loopback HTTP CONNECT proxy, using uvloop and a one-slot connection pool. The proxy accepts CONNECT with a 200, then waits after receiving the TLS ClientHello. This lets the test trigger a handshake timeout, an explicit I tested the proposed async change that catches |
|
Waiting for this patch. |
Summary
Close proxy tunnel connection when TLS raises during CONNECT (#921)
This happened when I use python-telegram-bot library.
Details
Checklist