Close all connections on exit
This commit is contained in:
@ -11,8 +11,6 @@
|
||||
|
||||
#include "worker/func.h"
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#define NUM_SOCKETS 2
|
||||
#define LISTEN_BACKLOG 16
|
||||
#define REQ_PER_CONNECTION 200
|
||||
@ -23,8 +21,6 @@
|
||||
#define CNX_HANDLER_WORKERS 8
|
||||
#define REQ_HANDLER_WORKERS 16
|
||||
|
||||
extern volatile sig_atomic_t server_alive;
|
||||
|
||||
void server_free_client(client_ctx_t *ctx);
|
||||
|
||||
#endif //SESIMOS_SERVER_H
|
||||
|
Reference in New Issue
Block a user