1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00

Fix bug with HttpChannel linked list.

This commit is contained in:
Robert G. Jakabosky 2018-09-10 01:49:12 +08:00
parent 003b05b095
commit e0ae6b10cd

View File

@ -77,7 +77,7 @@ where
type Error = ();
fn poll(&mut self) -> Poll<Self::Item, Self::Error> {
if self.node.is_some() {
if self.node.is_none() {
let el = self as *mut _;
self.node = Some(Node::new(el));
let _ = match self.proto {