Delete client.h/.c

This commit is contained in:
2022-12-29 11:47:59 +01:00
parent f92c26c350
commit 672745f6df
15 changed files with 769 additions and 894 deletions

View File

@ -8,7 +8,6 @@
#include "defs.h"
#include "server.h"
#include "client.h"
#include "logger.h"
#include "async.h"
#include "worker/tcp_acceptor.h"
@ -44,6 +43,8 @@ static SSL_CTX *contexts[CONFIG_MAX_CERT_CONFIG];
static client_ctx_t clients[MAX_CLIENTS]; // TODO dynamic
static const char *color_table[] = {"\x1B[31m", "\x1B[32m", "\x1B[33m", "\x1B[34m", "\x1B[35m", "\x1B[36m"};
static int clean() {
remove("/var/sesimos/server/cache");
rmdir("/var/sesimos/server/");