diff --git a/h3/src/stream.rs b/h3/src/stream.rs index f00a11a1..5c61e75f 100644 --- a/h3/src/stream.rs +++ b/h3/src/stream.rs @@ -25,8 +25,8 @@ where D: Into>, B: Buf, { - stream.send_data(data)?; future::poll_fn(|cx| stream.poll_ready(cx)).await?; + stream.send_data(data)?; Ok(()) }