mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
prepare release
This commit is contained in:
parent
285c73e95e
commit
14d1b8e2b6
@ -1,5 +1,7 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## 0.6.8 (2018-05-20)
|
||||||
|
|
||||||
* Fix scope resource path extractor #234
|
* Fix scope resource path extractor #234
|
||||||
|
|
||||||
* Re-use tcp listener on pause/resume
|
* Re-use tcp listener on pause/resume
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-web"
|
name = "actix-web"
|
||||||
version = "0.6.7"
|
version = "0.6.8"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -86,7 +86,13 @@ fn test_start() {
|
|||||||
// pause
|
// pause
|
||||||
let _ = srv_addr.send(server::PauseServer).wait();
|
let _ = srv_addr.send(server::PauseServer).wait();
|
||||||
thread::sleep(time::Duration::from_millis(200));
|
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
|
// resume
|
||||||
let _ = srv_addr.send(server::ResumeServer).wait();
|
let _ = srv_addr.send(server::ResumeServer).wait();
|
||||||
|
Loading…
Reference in New Issue
Block a user