diff --git a/src/server/h2writer.rs b/src/server/h2writer.rs index 7fccd4ecf..6a6437b0b 100644 --- a/src/server/h2writer.rs +++ b/src/server/h2writer.rs @@ -197,6 +197,7 @@ impl Writer for H2Writer { let cap = cmp::min(self.buffer.len(), CHUNK_SIZE); stream.reserve_capacity(cap); } else { + self.flags.remove(Flags::RESERVED); return Ok(Async::NotReady) } }