Skip to content

Conversation

aaugustin
Copy link
Member

Fix #364.

@aaugustin aaugustin marked this pull request as draft January 25, 2025 08:05
@aaugustin aaugustin force-pushed the http-proxy branch 8 times, most recently from a05533f to 4a8be89 Compare February 1, 2025 16:22
@aaugustin aaugustin marked this pull request as ready for review February 1, 2025 16:43
@aaugustin aaugustin force-pushed the http-proxy branch 7 times, most recently from 8968d04 to b36412b Compare February 1, 2025 21:09
This reduces the run time of the test suite by 40%, from 6.7s to 4.1s.
This avoids mixing TLS termination by mitmproxy and by websockets.
Specifically, not hiding the __cause__ of TimeoutError makes it visible
when it happens while connecting to a proxy.
This allows keeping the connection open after reading the response
to a CONNECT request.
@aaugustin aaugustin force-pushed the http-proxy branch 2 times, most recently from a315b8b to 6e72e55 Compare February 1, 2025 21:40
@aaugustin aaugustin merged commit 2b9a90a into main Feb 1, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for HTTP(S) proxies to connect()

1 participant