chore(lib): remove debug logs on 0 sized reads
This commit is contained in:
@@ -118,8 +118,10 @@ impl<T: AsyncRead + AsyncWrite> Buffered<T> {
|
|||||||
return Err(e)
|
return Err(e)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
if n > 0 {
|
||||||
debug!("read {} bytes", n);
|
debug!("read {} bytes", n);
|
||||||
self.read_buf.advance_mut(n);
|
self.read_buf.advance_mut(n);
|
||||||
|
}
|
||||||
Ok(Async::Ready(n))
|
Ok(Async::Ready(n))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user