fix http stream not being closed fully

This commit is contained in:
Danil Platonov
2026-01-25 03:16:37 -08:00
parent 453a88f03e
commit 26523139a8

View File

@@ -1537,6 +1537,7 @@ impl Stream {
}
#[cfg(feature = "http")]
Stream::HttpWrite(mut http_stream) => {
http_stream.inner_mut().drop();
http_stream.drop_payload();
Ok(())