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

Always use TLS with HTTP20Connection #58

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

PaulosV
Copy link
Contributor

@PaulosV PaulosV commented Dec 12, 2017

This snippet fixes usage of alternative port (2197) of HTTP/2 APN service.

hyper package only uses TLS by default if the port is 443. By adding secure=True, we make it use TLS in all circumstances.

http://hyper.readthedocs.io/en/latest/api.html#hyper.HTTP20Connection

@Pr0Ger Pr0Ger merged commit d071ec1 into Pr0Ger:master Dec 18, 2017
@Pr0Ger
Copy link
Owner

Pr0Ger commented Dec 18, 2017

Thx for contributions, @PaulosV

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