Multi processing -> multi threading

This commit is contained in:
2022-12-18 22:18:11 +01:00
parent 44913c1e0e
commit 45514f90ca
13 changed files with 464 additions and 515 deletions

View File

@ -18,6 +18,8 @@
typedef struct {
char *addr;
char *s_addr;
unsigned char s_keep_alive:1;
unsigned char c_keep_alive:1;
char cc[3];
char host[256];
char geoip[GEOIP_MAX_JSON_SIZE + 1];
@ -27,6 +29,6 @@ typedef struct {
host_config_t *get_host_config(const char *host);
int client_handler(sock *client, unsigned long client_num);
void *client_handler(sock *client);
#endif //SESIMOS_CLIENT_H