mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: reset correct value (#2618)
This commit is contained in:
@ -178,7 +178,7 @@ where
|
|||||||
|
|
||||||
if let Some(fut) = Pin::new(&mut self.body).as_pin_mut() {
|
if let Some(fut) = Pin::new(&mut self.body).as_pin_mut() {
|
||||||
if let Poll::Ready(res) = fut.poll(cx) {
|
if let Poll::Ready(res) = fut.poll(cx) {
|
||||||
self.header = None;
|
self.body = None;
|
||||||
return Poll::Ready(ResponseResult::Body(res))
|
return Poll::Ready(ResponseResult::Body(res))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user