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

Replace hyper-tls with hyper-rustls #75

Merged
merged 3 commits into from
Sep 13, 2021
Merged

Replace hyper-tls with hyper-rustls #75

merged 3 commits into from
Sep 13, 2021

Conversation

jedisct1
Copy link
Contributor

hyper-tls uses native-tls, which behave differently on different platforms.

In particular, TLS 1.3 is not supported on Windows and macOS, which is an issue since more and more servers do not support older versions any more.

hyper-rustls uses rustls, which works consistently across platforms, and supports TLS 1.3

Fixes #74

`hyper-tls` uses `native-tls`, which behave differently on different
platforms.

In particular, TLS 1.3 is not supported on Windows and macOS, which
is an issue since more and more servers do not support older versions
any more.

`hyper-rustls` uses `rustls`, which works consistently across
platforms, and supports TLS 1.3

Fixes #74
@cratelyn
Copy link
Contributor

thank you for opening this @jedisct1!

error: the lock file /Users/runner/work/Viceroy/Viceroy/cli/tests/trap-test/Cargo.lock needs to be updated but --locked was passed to prevent this

i believe CI is failing due to a rather minor problem, the lockfile in cli/tests/trap-test needs updating 🙂

lib/src/upstream.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

this looks wonderful, thank you for filing #74 and for providing a fix to it.

i believe CI is only failing for rather boring reasons; but once that's fixed up this should be ready to merge.

@jedisct1
Copy link
Contributor Author

Hidden Cargo.lock updated :)

Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

🎉 thank you!!

@cratelyn cratelyn merged commit c1c2461 into main Sep 13, 2021
@cratelyn cratelyn deleted the fdenis/rustls branch September 13, 2021 15:38
@cratelyn cratelyn mentioned this pull request Oct 21, 2021
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.

[macOS] Viceroy doesn't support TLS 1.3
2 participants