From 81c310a28a61bcb7041d39ed79a56630c19d79c8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:53:43 +0700 Subject: [PATCH] v2.0: Remove explicit stream finish (backport of #2760) (#2766) Remove explicit stream finish (#2760) (cherry picked from commit 61d6a22a472f0adb0ac68c3b287a5d68a66ee7e4) Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> --- quic-client/src/nonblocking/quic_client.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/quic-client/src/nonblocking/quic_client.rs b/quic-client/src/nonblocking/quic_client.rs index 5817a676f3b760..1195211189a63a 100644 --- a/quic-client/src/nonblocking/quic_client.rs +++ b/quic-client/src/nonblocking/quic_client.rs @@ -274,7 +274,6 @@ impl QuicClient { let mut send_stream = connection.open_uni().await?; send_stream.write_all(data).await?; - send_stream.finish().await?; Ok(()) }