diff --git a/Cargo.toml b/Cargo.toml index 5f9f27734..2b1870a56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,8 +77,7 @@ tokio-tls = { version="0.1", optional = true } tokio-openssl = { version="0.1", optional = true } [dependencies.actix] -#version = "^0.4.2" -git = "https://github.com/actix/actix.git" +version = "^0.4.2" [dependencies.openssl] version = "0.9" diff --git a/README.md b/README.md index 124fb9e83..c9913f2b7 100644 --- a/README.md +++ b/README.md @@ -67,5 +67,3 @@ This project is licensed under either of * MIT license ([LICENSE-MIT](LICENSE-MIT) or [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)) at your option. - -[![Analytics](https://ga-beacon.appspot.com/UA-110322332-2/actix-web/readme?flat&useReferer)](https://github.com/igrigorik/ga-beacon) diff --git a/src/context.rs b/src/context.rs index 403052f1b..19269af8f 100644 --- a/src/context.rs +++ b/src/context.rs @@ -40,7 +40,6 @@ impl ActorContext for HttpContext where A: Actor { /// Stop actor execution fn stop(&mut self) { - self.stream.push_back(Frame::Payload(None)); self.inner.stop(); } @@ -142,7 +141,7 @@ impl HttpContext where A: Actor { /// Indicate end of streamimng payload. Also this method calls `Self::close`. #[inline] pub fn write_eof(&mut self) { - self.stop(); + self.stream.push_back(Frame::Payload(None)); } /// Returns drain future