-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade rustls
and tokio-rustls
#175
Conversation
Pull Request Test Coverage Report for Build 8999710278Details
💛 - Coveralls |
Awesome, thank you! Are you able to fix the remaining CI issues? Skimming over the jobs, we need at least to add "BSD-3-Clause" to deny.toml (and check with cargo deny check)? Happy to have this in. We should also consider using rustls-native-certs in the proxy :-) |
I think the other CI fail was spurious. I rerun the job, let's see what happens :-) (Happy to have a "local CI" soon :D) |
Yes, except for the Windows one. I will fix tomorrow morning.
Is it not what I tried to achieve there? |
Urgh... sorry. I think I confused something. This is even better :-) |
And what about this? How do you usually spawn your server to test locally? |
The examples can be tested by using netcat. Though it's very time-consuming and I wouldn't recommend it. Usually we test We also spent much time in writing integration tests, just run |
What Jakob said. Also: The idea was that you can run client and server in pairs. Maybe we should put that in CI, too. Would require some well-defined exit condition such as a logout. I'll file an issue. |
I try to fix the CI (had an idea based on this comment) but it needs approval every time I push, is there a way to "auto-approve" (at least for this PR)? |
Fixed (hopefully). We don't strictly require any approval for PRs anymore :-) |
Awesome, seems to work! The thing I learnt is that Now there is a new error on Windows, I try to fix! EDIT: seems to be related to rustls/rustls#1913 |
Yay, all green! The second error was linked to Ready to merge. |
Awesome, thanks! One last thing: Could you cleanup the commit history, i.e., squash all CI changes, and squash all TLS changes? Then this is ready to go :-) Already approving. |
Could you cleanup the commit history
Done!
|
Peeeerfect! 🎉 Thanks! |
I bumped
rustls@0.23.1
andtokio-rustls@0.26.0
.I also replaced
webpki-roots
byrustls-native-certs
(see why), and put native certs loading in a staticLazy
cell.What is the prefered method to test examples (the server
127.0.0.1:12345
)?