]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/h2s-client.rs
update a chunk of stuff to the hyper release
[proxmox-backup.git] / src / bin / h2s-client.rs
index 70bb088e812bbd35e336a3681352dcd82e738450..df9a95b80380f23bac8e89774755f7d8f8913738 100644 (file)
@@ -34,7 +34,7 @@ impl Future for Process {
             } else {
                 match futures::ready!(Pin::new(&mut this.body).poll_next(cx)) {
                     Some(Ok(chunk)) => {
-                        this.body.release_capacity().release_capacity(chunk.len())?;
+                        this.body.flow_control().release_capacity(chunk.len())?;
                         this.bytes += chunk.len();
                         // println!("GOT FRAME {}", chunk.len());
                     },