diff --git a/src/types/reader.rs b/src/types/reader.rs index c21ad2846f7..63c306659c0 100644 --- a/src/types/reader.rs +++ b/src/types/reader.rs @@ -152,6 +152,7 @@ impl tokio::io::AsyncSeek for Reader { } SeekState::Start(pos) => { let n = ready!(self.inner.poll_seek(cx, pos))?; + self.get_mut().seek_state = SeekState::Init; Poll::Ready(Ok(n)) } }