Debian 的 curl 现在支持 HTTP3 | Samuel Henrique (samueloph)

  • Debian's curl now supports HTTP3: Since curl 8.0.0-2, HTTP3 can be used. Examples include curl --http3-only https://example.com or in a container with podman run debian:testing /bin/bash -c 'apt install --update -y curl && curl --http3-only https://example.com'.

    • Availability: In Debian: unstable since 2024-07-02, testing since 2024-07-18, 12/bookworm-backports since 2024-08-25. Debian derivatives: Rolling releases get it by the time it's on testing; stable derivatives only in the next major release.
  • The challenge: HTTP3 is new. OpenSSL doesn't have proper support yet and performance isn't good enough. Non-experimental support for GnuTLS/nghttp3/ngtcp2 arrived in October 2023.
  • How it was done: The Debian curl package ships at least two libcurl variants. Enabling HTTP3 was done in three steps: ensuring dependencies meet requirements, enabling for GnuTLS libcurl, and switching the TLS backend used by the curl CLI. Dependencies required a transition due to SONAME bump and months of freeze.
  • Ensuring no breakages: The change won't be pushed to current Debian stable releases. Analysed curl's TLS options page to ensure no major issues. CI tests are running for packages depending on curl. If all goes well, it will migrate to Debian testing in about 5 days; if issues arise, it could take less than a month to solve.
  • Feedback: Join the Matrix room for Debian curl maintainers at https://matrix.to/#/#debian-curl-maintainers:matrix.org.
  • Acknowledgements: Many people were crucial. Curl developers and supporting library developers were important. On the Debian side, Sakirnth Nagarasa updated and took care of transitions, and Sergio Durigan Junior and Carlos Henrique Lima Melara provided help and support.
  • Changes since publication: Fixed podman command, changed to use Debian testing. Mentioned availability in bookworm-backports. Updated availability dates for Debian testing and bookworm-backports. Removed mention of language spoken in the Matrix room.
阅读 13
0 条评论