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) | ||||||
|                 } |                 } | ||||||
|             }; |             }; | ||||||
|             debug!("read {} bytes", n); |             if n > 0 { | ||||||
|             self.read_buf.advance_mut(n); |                 debug!("read {} bytes", n); | ||||||
|  |                 self.read_buf.advance_mut(n); | ||||||
|  |             } | ||||||
|             Ok(Async::Ready(n)) |             Ok(Async::Ready(n)) | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user