1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 08:57:00 +02:00

simplify channel impl

This commit is contained in:
Nikolay Kim
2018-08-03 19:32:46 -07:00
parent e34b5c08ba
commit ac9180ac46
4 changed files with 12 additions and 30 deletions

View File

@@ -470,7 +470,6 @@ impl Accept {
io,
token: info.token,
peer: Some(addr),
http2: false,
},
Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => return,
Err(ref e) if connection_error(e) => continue,