From 13bdab6ce8012124c6169c87710e3ecd1706dde8 Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Tue, 1 Oct 2024 08:11:00 +0700 Subject: fix sigsegv when thread ended. Use thread pool instead use own th_pool struct instead use fd_sockaddr_list Signed-off-by: fadhil riyanto --- config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.h') diff --git a/config.h b/config.h index baeab66..7d50464 100644 --- a/config.h +++ b/config.h @@ -3,5 +3,6 @@ #define MAX_ACCEPT_WORKER 5 #define EPOLL_ACCEPTFD_WATCHLIST_LEN 20 +#define FREE_THREAD_ALLOC 50 #endif \ No newline at end of file -- cgit v1.2.3