Files
lix/doc/manual/rl-next/http3.md
T
Raito Bezarius 7e193f962e libstore/filetransfer: support HTTP/3 transfers if the user requests it
This adds the enablement code to support HTTP/3 if the user requests it.

We leave it disabled because h3 is not onpar with h2 performance.

Change-Id: I1fd3d4c97b972dcf36bccacc6c9a8290e22b31e0
Signed-off-by: Raito Bezarius <raito@lix.systems>
2025-11-17 19:11:32 +00:00

1.1 KiB

synopsis, issues, category, credits
synopsis issues category credits
Lix supports HTTP/3 behind `--http3`
fj#1033
Features
raito
horrors

Lix now supports HTTP/3 for file transfers when the linked curl version supports it.

By default, HTTP/3 is disabled notably due to performance issues reported in mid-2024. More details here.

As of 2025-11-14, NixOS official cache supports HTTP/3 via Fastly. More info here.

To enable HTTP/3:

  • Use --http3 for individual transfers.
  • Add http3 = true in your Nix configuration for permanent activation.

To disable it, use --no-http3.

Note:

  • --no-http2 --http3 will still enable both HTTP/2 and HTTP/3.
  • --http2 --http3 will prioritize HTTP/3 and fall back to HTTP/2 (and then HTTP/1.1).

These are current CLI limitations. In the future, we plan to replace --httpX options with --max-http-version [1,2,3] for easier version selection in Lix transfers.