diff --git a/src/machine/streams.rs b/src/machine/streams.rs index 0d88ca58..f966d91f 100644 --- a/src/machine/streams.rs +++ b/src/machine/streams.rs @@ -1537,6 +1537,7 @@ impl Stream { } #[cfg(feature = "http")] Stream::HttpWrite(mut http_stream) => { + http_stream.inner_mut().drop(); http_stream.drop_payload(); Ok(())