Skip to content

Add ConcurrencyBackend.start_tls()#263

Merged
sethmlarson merged 4 commits into
encode:masterfrom
sethmlarson:start-tls
Aug 24, 2019
Merged

Add ConcurrencyBackend.start_tls()#263
sethmlarson merged 4 commits into
encode:masterfrom
sethmlarson:start-tls

Conversation

@sethmlarson

Copy link
Copy Markdown
Contributor

This primitive will be used for HTTP CONNECT tunnel proxies to apply TLS onto either a raw socket stream or an existing TLS stream.

@sethmlarson

Copy link
Copy Markdown
Contributor Author

It looks like there were a lot of changes related to import order in this PR from me running nox -s lint? Maybe they weren't picked up in other PRs.

Comment thread tests/test_concurrency.py
Comment thread httpx/concurrency/asyncio.py Outdated
Comment thread tests/test_concurrency.py
sethmlarson and others added 2 commits August 21, 2019 09:13
Co-Authored-By: Florimond Manca <florimond.manca@gmail.com>
Comment thread httpx/concurrency/asyncio.py
@sethmlarson sethmlarson reopened this Aug 23, 2019
@sethmlarson

Copy link
Copy Markdown
Contributor Author

Codecov is saying 100% for this branch: https://codecov.io/gh/encode/httpx/pull/263
Would appreciate another round of review for merging. :)

@florimondmanca
florimondmanca self-requested a review August 23, 2019 12:07

@florimondmanca florimondmanca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me — just a note about generalizing the TLS assertion 🙏.

Comment thread tests/test_concurrency.py
Comment thread httpx/concurrency/asyncio.py

@florimondmanca florimondmanca left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go! 🚀

@sethmlarson

Copy link
Copy Markdown
Contributor Author

Thanks for the review @florimondmanca!

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.

3 participants