fix(client): return error instead of unmatched response when idle
This commit is contained in:
		| @@ -91,6 +91,10 @@ impl AsyncIo<Buf> { | ||||
|         AsyncIo::new(Buf::wrap(buf.into()), bytes) | ||||
|     } | ||||
|  | ||||
|     pub fn new_eof() -> AsyncIo<Buf> { | ||||
|         AsyncIo::new(Buf::wrap(Vec::new().into()), 1) | ||||
|     } | ||||
|  | ||||
|     pub fn flushed(&self) -> bool { | ||||
|         self.flushed | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user