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

http3: add a RoundTripOpt to check the server's SETTINGS frame #4355

Merged
merged 1 commit into from
Mar 12, 2024

Commits on Mar 9, 2024

  1. http3: add a RoundTripOpt to check the server's SETTINGS frame

    For some requests, the client is required to check the server's HTTP/3
    SETTINGS. For example, a client is only allowed to send HTTP/3 datagrams
    if the server explicitly enabled support.
    
    SETTINGS are sent asynchronously on a control stream (usually the first
    unidirectional stream). This means that the SETTINGS might not be
    available at the beginning of the connection. This is not expected to be
    the common case, since the server can send the SETTINGS in 0.5-RTT data,
    but we have to be able to deal with arbitrary delays.
    
    For WebTransport, there are even more SETTINGS values that the client
    needs to check. By making CheckSettings a callback on the RoundTripOpt,
    this entire validation logic can live at the WebTransport layer.
    marten-seemann committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    d0c04f4 View commit details
    Browse the repository at this point in the history