]> Repositorios git - scryer-prolog.git/commitdiff
fix http stream not being closed fully
authorDanil Platonov <[email protected]>
Sun, 25 Jan 2026 11:16:37 +0000 (03:16 -0800)
committerDanil Platonov <[email protected]>
Sun, 25 Jan 2026 11:16:37 +0000 (03:16 -0800)
src/machine/streams.rs

index 0d88ca5846cd61f590f285c812e97ab42d8d70d4..f966d91ff163cd7b85cb9609e8e43c49fc4c0ef5 100644 (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(())