hyper: use new hyper::upgrade
the old Body::on_upgrade method is no more Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
1 parent
b5a202acb6
commit
89e9134a3f
4 files changed
+8
-12
No files matched your search
@@ -646,10 +646,7 @@ impl HttpClient {
|
||||
bail!("unknown error");
|
||||
}
|
||||
|
||||
let upgraded = resp
|
||||
.into_body()
|
||||
.on_upgrade()
|
||||
.await?;
|
||||
let upgraded = hyper::upgrade::on(resp).await?;
|
||||
|
||||
let max_window_size = (1 << 31) - 2;
|
||||
|
||||
|
||||
Reference in new issue
Block a user