generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
Description
Security issue notifications
Problem:
s2n-quic currently convert a server name into the server::Name struct by using the Into trait that's auto implemented: https://docs.rs/s2n-quic/latest/s2n_quic/server/struct.Name.html.
We recently came across the idea of creating server::Name using bytes. We want to directly convert bytes into server::Name using the from_static method. Such conversion is done in constant time and can avoid any churn on atomics for handshakes.
Need By Date:
No specific need by date.
Solution:
Implement a new method to allow such feature.
Requirements / Acceptance Criteria:
User should be able to create a server::Name by creating a byte array to call from_static to create it.
Out of scope:
N/A