mirror of
https://github.com/actix/actix-web.git
synced 2024-11-23 10:01:06 +00:00
Fix bug with HttpChannel linked list.
This commit is contained in:
parent
003b05b095
commit
e0ae6b10cd
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ where
|
||||||
type Error = ();
|
type Error = ();
|
||||||
|
|
||||||
fn poll(&mut self) -> Poll<Self::Item, Self::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 _;
|
let el = self as *mut _;
|
||||||
self.node = Some(Node::new(el));
|
self.node = Some(Node::new(el));
|
||||||
let _ = match self.proto {
|
let _ = match self.proto {
|
||||||
|
|
Loading…
Reference in a new issue