mirror of https://github.com/fafhrd91/actix-web
Merge branch 'master' into refactor/web_block
This commit is contained in:
commit
687d7ce805
|
@ -722,9 +722,9 @@ async fn test_client_cookie_handling() {
|
||||||
async fn client_unread_response() {
|
async fn client_unread_response() {
|
||||||
let addr = test::unused_addr();
|
let addr = test::unused_addr();
|
||||||
|
|
||||||
std::thread::spawn(move || {
|
let lst = std::net::TcpListener::bind(addr).unwrap();
|
||||||
let lst = std::net::TcpListener::bind(addr).unwrap();
|
|
||||||
|
|
||||||
|
std::thread::spawn(move || {
|
||||||
for stream in lst.incoming() {
|
for stream in lst.incoming() {
|
||||||
let mut stream = stream.unwrap();
|
let mut stream = stream.unwrap();
|
||||||
let mut b = [0; 1000];
|
let mut b = [0; 1000];
|
||||||
|
|
Loading…
Reference in New Issue