1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 00:50:20 +02:00

mark context as modified after writing data

This commit is contained in:
Nikolay Kim
2018-02-27 18:05:06 -08:00
parent e2c8f17c2c
commit 1e2aa4fc90
2 changed files with 3 additions and 0 deletions

View File

@@ -164,6 +164,7 @@ impl<A, S> HttpContext<A, S> where A: Actor<Context=Self> {
self.stream = Some(SmallVec::new());
}
self.stream.as_mut().map(|s| s.push(frame));
self.inner.modify();
}
/// Handle of the running future