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>
1.1 KiB
1.1 KiB
synopsis, issues, category, credits
| synopsis | issues | category | credits | |||
|---|---|---|---|---|---|---|
| Lix supports HTTP/3 behind `--http3` |
|
Features |
|
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
--http3for individual transfers. - Add
http3 = truein your Nix configuration for permanent activation.
To disable it, use --no-http3.
Note:
--no-http2 --http3will still enable both HTTP/2 and HTTP/3.--http2 --http3will 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.