diff --git a/CHANGES.md b/CHANGES.md index 7a751b64..13d31397 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,7 @@ # Changes +## 0.6.8 (2018-05-20) + * Fix scope resource path extractor #234 * Re-use tcp listener on pause/resume diff --git a/Cargo.toml b/Cargo.toml index 70a9ec44..9352abed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web" -version = "0.6.7" +version = "0.6.8" authors = ["Nikolay Kim "] description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust." readme = "README.md" diff --git a/tests/test_server.rs b/tests/test_server.rs index 7eb0bfaa..b0fd7d4f 100644 --- a/tests/test_server.rs +++ b/tests/test_server.rs @@ -86,7 +86,13 @@ fn test_start() { // pause let _ = srv_addr.send(server::PauseServer).wait(); thread::sleep(time::Duration::from_millis(200)); - assert!(net::TcpStream::connect(addr).is_err()); + { + let req = client::ClientRequest::get(format!("http://{}/", addr).as_str()) + .timeout(time::Duration::from_millis(200)) + .finish() + .unwrap(); + assert!(sys.run_until_complete(req.send()).is_err()); + } // resume let _ = srv_addr.send(server::ResumeServer).wait();