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

h3: add support for additional HEADERS #1027

Merged
merged 2 commits into from
Sep 27, 2024

Commits on Sep 24, 2024

  1. h3: add support for additional HEADERS

    HTTP/3 request and response message exchanges allow multiple HEADERS
    frames to be sent, which allows for trailer sections or non-final
    responses. Previously, quiche has only supported generating a single
    HEADERS frame per request or response, and didn't support receiving
    them.
    
    This change adds support for sending and receiving multiple HEADERS
    frames on a request stream. It enforces the sequencing rules defined in
    https://www.rfc-editor.org/rfc/rfc9114.html#section-4.1.
    Sending additional HEADERS is done using the new
    `send_additional_headers()` method. On the receive side, rather than add
    a new Event enum variant for these additional uses of HEADERS, this
    change reuses Event::Headers. Previosuly, this event included a
    `has_body` boolean, which has been renamed to `more_frames` to better
    align with how HTTP/3 streams work.
    LPardue committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    0e72799 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Update quiche/src/h3/mod.rs

    ghedo authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    742ed51 View commit details
    Browse the repository at this point in the history