Skip to content

HTTP/3 Extension Order Issue in H3 Connections #237

@alpgul

Description

@alpgul

https://github.com/lexiforest/curl-chrome/blob/7b5f3b36d0e120c26e01c5df3c75a0a3478c1e3f/lib/vtls/openssl.c#L4697-L4700

    char *ext_order = (peer->transport == TRNSPRT_QUIC
                       && data->set.str[STRING_HTTP3_TLS_EXTENSION_ORDER])
                      ? data->set.str[STRING_HTTP3_TLS_EXTENSION_ORDER]
                      : data->set.str[STRING_TLS_EXTENSION_ORDER];

When the HTTP/3 extension order value is defined as null, the system incorrectly uses the H2 extension order settings for H3 connections.
The following part of the code should be removed: && data->set.str[STRING_HTTP3_TLS_EXTENSION_ORDER]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions