[pve-devel] [pbs-devel] [RFC PATCH proxmox] http: enable http2 feature for hyper-util
Dominik Csapak
d.csapak at proxmox.com
Tue Jul 22 13:45:44 CEST 2025
now also to pve-devel, did a typo when writing the list address...
On 7/22/25 13:43, Dominik Csapak wrote:
> this is necessary for some esxi versions to be added as PVE storage on trixie
> otherwise it fails with:
>
> thread 'main' panicked at /usr/share/cargo/registry/hyper-util-0.1.12/src/client/legacy/client.rs:576:33:
> http2 feature is not enabled
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> create storage failed: failed to spawn fuse mount, process exited with status 25856
>
> tested with esxi 8.0.3 / PVE 9 beta
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> pve-esxi-import-tools have to be rebuilt with the new proxmox-http crate
> of course
>
> not sure what other implications enabling this feature has, the docs are
> rather sparse on that, so sending as RFC
>
> proxmox-http/Cargo.toml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/proxmox-http/Cargo.toml b/proxmox-http/Cargo.toml
> index 297654a2..5ffb1626 100644
> --- a/proxmox-http/Cargo.toml
> +++ b/proxmox-http/Cargo.toml
> @@ -19,7 +19,7 @@ http = { workspace = true, optional = true }
> http-body = { workspace = true, optional = true }
> http-body-util = { workspace = true, optional = true }
> hyper = { workspace = true, optional = true }
> -hyper-util = { workspace = true, optional = true }
> +hyper-util = { workspace = true, optional = true, features = ["http2"] }
> native-tls = { workspace = true, optional = true }
> openssl = { version = "0.10", optional = true }
> serde_json = { workspace = true, optional = true }
More information about the pve-devel
mailing list