mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
more patch cratesio
This commit is contained in:
parent
00000fb316
commit
db1f7651a3
@ -120,4 +120,8 @@ actix = { git = "https://github.com/actix/actix.git" }
|
|||||||
actix-web = { path = "." }
|
actix-web = { path = "." }
|
||||||
actix-http = { path = "actix-http" }
|
actix-http = { path = "actix-http" }
|
||||||
actix-http-test = { path = "test-server" }
|
actix-http-test = { path = "test-server" }
|
||||||
|
actix-web-codegen = { path = "actix-web-codegen" }
|
||||||
|
actix-web-actors = { path = "actix-web-actors" }
|
||||||
|
actix-session = { path = "actix-session" }
|
||||||
|
actix-files = { path = "actix-files" }
|
||||||
awc = { path = "awc" }
|
awc = { path = "awc" }
|
||||||
|
@ -61,9 +61,7 @@ fn test_connection_close() {
|
|||||||
.finish(|_| ok::<_, ()>(Response::Ok().body(STR)))
|
.finish(|_| ok::<_, ()>(Response::Ok().body(STR)))
|
||||||
.map(|_| ())
|
.map(|_| ())
|
||||||
});
|
});
|
||||||
let response = srv
|
let response = srv.block_on(srv.get("/").force_close().send()).unwrap();
|
||||||
.block_on(srv.get("/").close_connection().send())
|
|
||||||
.unwrap();
|
|
||||||
assert!(response.status().is_success());
|
assert!(response.status().is_success());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user