Skip to content

Conversation

@Mark-Simulacrum
Copy link
Collaborator

Release Summary:

  • feat(s2n-quic): Allow creating server names in const contexts

Resolved issues:

resolves #2777

Description of changes:

This allows const construction of server names and allows cloning those to be near-free (Bytes::from_static does not require reference counting).

Call-outs:

n/a

Testing:

n/a

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This allows const construction of server names and allows cloning those
to be near-free (Bytes::from_static does not require reference
counting).
@Mark-Simulacrum Mark-Simulacrum marked this pull request as ready for review October 20, 2025 17:42
@Mark-Simulacrum Mark-Simulacrum requested a review from a team as a code owner October 20, 2025 17:42
Copy link
Contributor

@boquan-fang boquan-fang left a comment

Choose a reason for hiding this comment

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

Thanks for helping out with this issue!

@Mark-Simulacrum Mark-Simulacrum merged commit c0f7c04 into aws:main Oct 20, 2025
121 checks passed
@Mark-Simulacrum Mark-Simulacrum deleted the static-name branch October 20, 2025 19:33
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.

Convert Bytes to s2n_quic::server::Name

2 participants