-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-awcproject: awcproject: awcA-httpproject: actix-httpproject: actix-httpA-test-serverproject: test-serverproject: test-serverA-webproject: actix-webproject: actix-webC-choreCategory: choreCategory: chore
Description
Hey actix team!
Rustls is near approaching a 0.20 release (with two betas already released), which has significant breaking changes. Since actix is also close to releasing a major version release as well, I thought It was worth requesting if actix can update its dependency for Rustls to 0.20 before the 4.0.0 release is made.
As for reasons why actix should consider using Rustls 0.20 to begin with:
- Obligatory mention of "standard best practice" to keep security libraries up to date in general.
- If Re-export rustls when feature is enabled #2054 is implemented for v4 (which appears to be on the roadmap), then updating Rustls to 0.20 after a 4.0.0 release is cut would require a major version increment as the API changes are not backwards compatible.
- No major breaking changes are envisioned after the 0.20 release, so updating this dependency before 4.0.0 is released is perfect timing.
- There's an huge performance benefit for actix-web servers using runtime-selected certificates that removes a clone operation on a cert chain for every TLS connection, which I've personally run into. Unfortunately, without an dependency update to 0.20, this isn't resolvable by an end user from my investigation.
I'd be happy to try and create a PR for this as well since I'm advocating for this change, if the actix team deems this a good idea but does not have the time to implement it.
Thanks for your consideration.
carbotaniuman, robjtede, arniu, aliemjay, altanozlu and 6 more
Metadata
Metadata
Assignees
Labels
A-awcproject: awcproject: awcA-httpproject: actix-httpproject: actix-httpA-test-serverproject: test-serverproject: test-serverA-webproject: actix-webproject: actix-webC-choreCategory: choreCategory: chore