server: Cleanup header file
This commit is contained in:
+2
-5
@@ -12,8 +12,8 @@
|
|||||||
#include "worker/func.h"
|
#include "worker/func.h"
|
||||||
|
|
||||||
#define NUM_SOCKETS 2
|
#define NUM_SOCKETS 2
|
||||||
#define LISTEN_BACKLOG 16
|
#define LISTEN_BACKLOG 256
|
||||||
#define REQ_PER_CONNECTION 200
|
#define REQ_PER_CONNECTION 256
|
||||||
|
|
||||||
#define SOCKET_TIMEOUT 1
|
#define SOCKET_TIMEOUT 1
|
||||||
#define CLIENT_TIMEOUT 3600
|
#define CLIENT_TIMEOUT 3600
|
||||||
@@ -21,9 +21,6 @@
|
|||||||
#define SERVER_SOCKET_TIMEOUT_RES 60
|
#define SERVER_SOCKET_TIMEOUT_RES 60
|
||||||
#define SERVER_TIMEOUT 3600
|
#define SERVER_TIMEOUT 3600
|
||||||
|
|
||||||
#define CNX_HANDLER_WORKERS 8
|
|
||||||
#define REQ_HANDLER_WORKERS 16
|
|
||||||
|
|
||||||
void server_free_client(client_ctx_t *ctx);
|
void server_free_client(client_ctx_t *ctx);
|
||||||
|
|
||||||
#endif //SESIMOS_SERVER_H
|
#endif //SESIMOS_SERVER_H
|
||||||
|
|||||||
Reference in New Issue
Block a user