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

[fix] Use proxy ssl context consistently #3175

Merged
merged 3 commits into from May 10, 2024
Merged

Conversation

manav-a
Copy link
Contributor

@manav-a manav-a commented Apr 20, 2024

Summary

SSL context from httpx.Proxy is not used consistently across the proxy connections created in in HTTP transport this PR changes that. Haven't really added a test as I haven't found another test that check for proxy with custom ssl context but would love guidance around if/where one should be added here.

No specific documentation seems to be needed to be updated this should just get the api consistent.

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

@manav-a manav-a closed this Apr 20, 2024
@manav-a manav-a reopened this Apr 20, 2024
@manav-a
Copy link
Contributor Author

manav-a commented Apr 20, 2024

Miss clicked to closed by mistake

@manav-a
Copy link
Contributor Author

manav-a commented May 8, 2024

@tomchristie could you please take a look at this when you have a chance

@karpetrosyan
Copy link
Member

My apologies for the delayed review. Yes, we do need to pass the SSL context of the proxy to the HTTPCore pool.

@karpetrosyan karpetrosyan merged commit 88a81c5 into encode:master May 10, 2024
5 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.

None yet

2 participants