Skip to content
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

Create ALPNIdentifier type to allow bytes or string presentation #385

Merged
merged 4 commits into from Feb 5, 2024

Conversation

LPardue
Copy link
Member

@LPardue LPardue commented Jan 28, 2024

ALPN IDs aren't guaranteed to be safe text, so allow logging the byte
sequence. However, don't force endpoint to do that if their willing
to do some safety checking or safe encoding.

Closes #368

ALPN IDs aren't guaranteed to be safe text, so allow logging the byte
sequence. However, don't force endpoint to do that if their willing
to do some safety checking or safe encoding.

Closes #368
draft-ietf-quic-qlog-quic-events.md Outdated Show resolved Hide resolved
draft-ietf-quic-qlog-quic-events.md Outdated Show resolved Hide resolved
the most optimal one and communicates this back to the client. If not, the
connection is closed.
ALPN identifiers are byte sequences, that may be possible to present as UTF-8.
The `ALPNIDentifier`` type supports either format.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The `ALPNIDentifier`` type supports either format.
The `ALPNIDentifier`` type supports either format. Implementations SHOULD log at least one format, but MAY log both or none.

LPardue and others added 3 commits January 29, 2024 13:57
Co-authored-by: Robin Marx <rmarx@akamai.com>
Co-authored-by: Robin Marx <rmarx@akamai.com>
@LPardue LPardue merged commit 78652ac into main Feb 5, 2024
5 checks passed
@LPardue LPardue deleted the alpn-hex branch February 5, 2024 09:53
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.

Improve quic:alpn_information
3 participants