mirror of https://github.com/fafhrd91/actix-web
add task notify
This commit is contained in:
parent
3b536ee96c
commit
de99b80038
|
@ -192,6 +192,7 @@ where
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn poll(&mut self) -> Poll<(), HttpDispatchError> {
|
pub fn poll(&mut self) -> Poll<(), HttpDispatchError> {
|
||||||
|
::futures::task::current().notify();
|
||||||
// check connection keep-alive
|
// check connection keep-alive
|
||||||
self.poll_keepalive()?;
|
self.poll_keepalive()?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue