rpc : set SO_REUSEADDR for the server socket (#7320)

ref: #7293
This commit is contained in:
Radoslav Gerganov 2024-05-17 17:25:44 +03:00 committed by GitHub
parent 51e9d02599
commit f4bd8b3d26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 2 deletions

View file

@ -56,6 +56,10 @@ static bool rpc_server_params_parse(int argc, char ** argv, rpc_server_params &
} else if (arg == "-h" || arg == "--help") {
print_usage(argc, argv, params);
exit(0);
} else {
fprintf(stderr, "error: unknown argument: %s\n", arg.c_str());
print_usage(argc, argv, params);
exit(0);
}
}
return true;