We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagine the following code:
#[ntex::main] async fn main() { // Srv1 ntex::web::HttpServer::new(|| ntex::web::App::new()) .bind("0.0.0.0:8081") .unwrap() .run() .await .unwrap(); // Srv2 ntex::web::HttpServer::new(|| ntex::web::App::new()) .bind("0.0.0.0:8081") .unwrap() .run() .await .unwrap(); }
The first server can be stopped just fine by pressing ctrl-c/sending signal, but the next one would ignore the same signal and never stop.
ctrl-c
The text was updated successfully, but these errors were encountered:
Fix signal handling #183
8599638
Fix signal handling #183 (#187)
17ed3db
fixed in master
Sorry, something went wrong.
No branches or pull requests
Imagine the following code:
The first server can be stopped just fine by pressing
ctrl-c
/sending signal, but the next one would ignore the same signal and never stop.The text was updated successfully, but these errors were encountered: