minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/by-name/pr/proxmox-backup-client
Git unified diff text formatText adds a native connect call
SHA-256e7b843342615c37071389cb14e74ef0300a1882e145fdd8b3e1f6cc83ee6ecff
MaleculeO(C)Md
Evidence
4:13… TCH 5/5] Revert "h2: switch to legacy feature"
5
6This reverts commit 168ed370263e84a6235968c615b856b9280debe1.
7
8It's a Proxmox-specific workaround (see also the commit description
9itself) and does not apply here.
10
11Signed-off-by: Christoph Heiss <[email protected]>
12---
13 Cargo.toml …
18:32… rs | 2 +-
19 6 files changed, 17 insertions(+), 19 deletions(-)
20
21diff --git a/Cargo.toml b/Cargo.toml
22index 091696f1..063f62f8 100644
23--- a/Cargo.toml
24+++ b/Cargo.toml
⋯4 lines
45:5… bytes: usize,
46 }
47@@ -50,7 +50,7 @@ impl Future for Process {
48 }
49
50 fn send_request(
51- mut client: h2::legacy::client::SendRequest<bytes::Bytes> …
56:20… sync fn run() -> Result<(), Error> {
57 let conn = TcpStream::connect(std::net::SocketAddr::from(([127, 0, 0, 1], 8008))).await?;
58 conn.set_nodelay(true).unwrap();
59
60- let (client, h2) = h2:: …