mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-26 06:57:43 +02:00
fix h2 client send body
This commit is contained in:
@ -159,6 +159,8 @@ async fn send_body<B: MessageBody>(
|
||||
} else {
|
||||
if !b.is_empty() {
|
||||
send.reserve_capacity(b.len());
|
||||
} else {
|
||||
buf = None;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user