Make client list dynamic

This commit is contained in:
2023-01-03 10:05:30 +01:00
parent f416c2f05c
commit 1cf9172194
3 changed files with 35 additions and 7 deletions

View File

@ -126,5 +126,5 @@ void tcp_close(client_ctx_t *ctx) {
char buf[32];
info("Connection closed (%s)", format_duration(ctx->cnx_e - ctx->cnx_s, buf));
memset(ctx, 0, sizeof(*ctx));
server_free_client(ctx);
}