add streaming body to requests and responses #3

Merged
lx merged 64 commits from stream-body into main 2022-09-13 10:56:54 +00:00
Showing only changes of commit f6ad1d0fab - Show all commits

View file

@ -280,7 +280,6 @@ impl Stream for CancelOnDropStream {
let res = this.stream.poll_next(cx); let res = this.stream.poll_next(cx);
if matches!(res, Poll::Ready(None)) { if matches!(res, Poll::Ready(None)) {
if let Some(c) = this.cancel.take() { if let Some(c) = this.cancel.take() {
trace!("defusing cancel request {}", c.id);
std::mem::forget(c) std::mem::forget(c)
} }
} }