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 synchronous TLS-in-TLS streams #840

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

karpetrosyan
Copy link
Member

@karpetrosyan karpetrosyan commented Nov 2, 2023

Closes #841

I'm not sure how we missed that, but it appears we have an if statement that prevents TLS-in-TLS streams for synchronous backends.

@tomchristie included a basic example of how to test this feature in sync and async code in the pull request that adds HTTPS proxy support.

This pull request simply corrects TLS-in-TLS sync by removing unnecessary if. To test locally, follow the steps outlined in the PR that adds HTTPS proxy support.

@karpetrosyan karpetrosyan added the bug Something isn't working label Nov 2, 2023
@karpetrosyan karpetrosyan requested a review from a team November 2, 2023 06:56
@karpetrosyan karpetrosyan merged commit 66aa1c1 into encode:master Nov 2, 2023
5 checks passed
@tomchristie tomchristie mentioned this pull request Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Synchronous TLS-in-TLS doesn't work
2 participants