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

h3i: Improve ConnectionSummary stream_map serialization #1927

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

LPardue
Copy link
Contributor

@LPardue LPardue commented Jan 26, 2025

The ConnectionSummary can be serialized to help other tooling consume
the output of h3i. Previously we didn't support the seralization of
DATA frame payloads. Furthermore, we were a bit inconsistent with how
we serialize frames with binary payloads.

This change adds support for logging DATA frame payloads and ensures
that all frames consistently have a _len field to indicate the true
length of the frame. Documentation has been added with a pointer to
the hexstring qlog definition that we use here.

Closes #1917

The ConnectionSummary can be serialized to help other tooling consume
the output of h3i. Previously we didn't support the seralization of
DATA frame payloads. Furthermore, we were a bit inconsistent with how
we serialize frames with binary payloads.

This change adds support for logging DATA frame payloads and ensures
that all frames consistently have a `_len` field to indicate the true
length of the frame. Documentation has been added with a pointer to
the hexstring qlog definition that we use here.

Closes #1917
@LPardue LPardue requested a review from a team as a code owner January 26, 2025 22:49
@ghedo ghedo merged commit 3a70151 into master Jan 27, 2025
36 checks passed
@ghedo ghedo deleted the lucas/h3i-serialization-fixups branch January 27, 2025 13:32
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.

How to view response body with h3i?
2 participants