add task notify

This commit is contained in:
Legokichi Duckscallion 2018-11-05 18:09:18 +09:00
parent 3b536ee96c
commit de99b80038
1 changed files with 1 additions and 0 deletions

View File

@ -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()?;