Removed extra read, since it hangs the worker #2764

This commit is contained in:
Kevin Rauwolf 2022-06-10 17:09:53 -07:00
parent a9e89b0db9
commit 7998c2051f
1 changed files with 0 additions and 3 deletions

View File

@ -706,9 +706,6 @@ where
debug!("handler dropped payload early; attempt to clean connection");
// ...in which case poll request payload a few times
loop {
if this.read_buf.is_empty() {
Self::read_available_projected(&mut this, cx)?;
}
match this.codec.decode(this.read_buf)? {
Some(msg) => {
match msg {