Closed mlesin closed 2 years ago
Sorry for bothering, it seems this problem is unrelated to actix and more specific to OSX platform itself.
@mlesin, I am experiencing the same behavior on Mac for a Spring WebFlux server. Since you mentioned that it might be more specific to the OSX platform, I was wondering if you have resolved it and what the OSX-related problem might be?
@mlesin, I am experiencing the same behavior on Mac for a Spring WebFlux server. Since you mentioned that it might be more specific to the OSX platform, I was wondering if you have resolved it and what the OSX-related problem might be?
I didn't even tried to solve it because I'm using OSX only for developing, while production runs on Linux without such issues, sorry.
Expected Behavior
It should continue serving requests
Current Behavior
Here is current log from ab:
Possible Solution
Steps to Reproduce (for bugs)
actix-web = "4.1.0"
) :async fn simple() -> HttpResponse { HttpResponse::Ok().json("something") }
[actix_web::main]
async fn main() { println!("Starting server at http://127.0.0.1:8080",); HttpServer::new(move || App::new().service(web::resource("/").route(web::get().to(simple)))) .bind(("127.0.0.1", 8080)) .expect("successful bind") .run() .await .unwrap(); }
Context
I've tried previos major version of actix-web (3.3.3), it fails with the same result
Your Environment
Mac OS X 12.5.1 4-core CPU with Hyper Threading enabled, 16GB RAM
rustc -V
):rustc 1.63.0 (4b91a6ea7 2022-08-08)
4.1.0