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 b931d0d1cf - Show all commits

View file

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