mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 18:34:36 +01:00
prepare release
This commit is contained in:
parent
285c73e95e
commit
14d1b8e2b6
@ -1,5 +1,7 @@
|
||||
# Changes
|
||||
|
||||
## 0.6.8 (2018-05-20)
|
||||
|
||||
* Fix scope resource path extractor #234
|
||||
|
||||
* Re-use tcp listener on pause/resume
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-web"
|
||||
version = "0.6.7"
|
||||
version = "0.6.8"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
||||
readme = "README.md"
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user