fix http stream not being closed fully
This commit is contained in:
@@ -1537,6 +1537,7 @@ impl Stream {
|
|||||||
}
|
}
|
||||||
#[cfg(feature = "http")]
|
#[cfg(feature = "http")]
|
||||||
Stream::HttpWrite(mut http_stream) => {
|
Stream::HttpWrite(mut http_stream) => {
|
||||||
|
http_stream.inner_mut().drop();
|
||||||
http_stream.drop_payload();
|
http_stream.drop_payload();
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user