public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [RFC PATCH proxmox] http: enable http2 feature for hyper-util
@ 2025-07-22 11:42 Dominik Csapak
  2025-07-22 14:39 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2025-07-22 11:42 UTC (permalink / raw)
  To: pve-devel, pbs-devel

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@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 }
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-22 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-22 11:42 [pbs-devel] [RFC PATCH proxmox] http: enable http2 feature for hyper-util Dominik Csapak
2025-07-22 14:39 ` [pbs-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal