mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
refactor read_from_io
This commit is contained in:
@@ -140,7 +140,7 @@ where
|
||||
ref mut buf,
|
||||
)) => {
|
||||
match io.read_available(buf) {
|
||||
Ok(Async::Ready(0)) | Err(_) => {
|
||||
Ok(Async::Ready(true)) | Err(_) => {
|
||||
debug!("Ignored premature client disconnection");
|
||||
settings.remove_channel();
|
||||
if let Some(n) = self.node.as_mut() {
|
||||
|
Reference in New Issue
Block a user