-
Notifications
You must be signed in to change notification settings - Fork 726
Improve representation of SNI, ALPN and protocol version extensions #2441
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
Conversation
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2441 +/- ##
==========================================
+ Coverage 95.94% 95.96% +0.02%
==========================================
Files 94 94
Lines 22650 22634 -16
==========================================
- Hits 21731 21721 -10
+ Misses 919 913 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
713e57c
to
75edf1a
Compare
Now a given decoded `ProtocolName` cannot be empty, there is no need to check that manually.
Retire `Vec<ServerName>`, as in practice there can never be more than one value: unknown name types (and everything that follows them) cannot be decoded, and only one value of each name type is allowed. Eliminates `ServerName` type which was confusingly overlapping with `rustls-pki-types::ServerName`.
These are diversions that happened in #1475