]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/h2client.rs
update a chunk of stuff to the hyper release
[proxmox-backup.git] / src / bin / h2client.rs
index 6abb014bbca13b5b888fa6740d7028e7a012ff5c..542ecff0b96b318e8e649b0b3359ce09a87d41dc 100644 (file)
@@ -35,7 +35,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());
                     },