perf(h1): optimize header encoding

This commit is contained in:
Sean McArthur
2018-05-07 18:04:58 -07:00
parent bf4fe7c515
commit 5680f6fca0
3 changed files with 86 additions and 59 deletions

View File

@@ -253,7 +253,6 @@ where I: AsyncRead + AsyncWrite,
pub fn wants_read_again(&mut self) -> bool {
let ret = self.state.notify_read;
self.state.notify_read = false;
trace!("wants_read_again? {}", ret);
ret
}