Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session.http: re-use SSLContext in ProxyManager #6025

Merged

Conversation

bastimeyer
Copy link
Member

See #6018 (comment)

This uses a reference of the same SSLContext object in the urllib3.ProxyManager's connection pool keywords as the regular urllib3.PoolManager.

I can't verify the proxy issue on kick.com though, as kick is blocking my entire server network. I'm using a socks5 tunnel via OpenSSH on my server, and regular HTTPS requests from the server don't work either.

Re-using the same SSLContext however is the correct thing to do:

Example from related projects:

@bastimeyer bastimeyer merged commit 8bf71b4 into streamlink:master Jun 8, 2024
23 checks passed
@bastimeyer bastimeyer deleted the session/http/proxy-ssl-context branch June 8, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant