Mercurial
diff seobeo/s_web.c @ 62:ea9ef388ab97
[Seobeo] Fixed issues with epoll or kqeue in different threads. Initizlied the event looop inside of the thread itself.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 23 Dec 2025 11:48:11 -0800 |
| parents | 84672efec192 |
| children | ecb6ee6a22c3 |
line wrap: on
line diff
--- a/seobeo/s_web.c Sat Dec 20 21:07:34 2025 -0500 +++ b/seobeo/s_web.c Tue Dec 23 11:48:11 2025 -0800 @@ -252,11 +252,11 @@ clean_up: printf("clean up\n\n"); + if (p_cli_handle) + Seobeo_Handle_Destroy(p_cli_handle); + if (p_response_arena) + Dowa_Arena_Destroy(p_response_arena); return; -// if (p_cli_handle) -// Seobeo_Handle_Destroy(p_cli_handle); -// if (p_response_arena) -// Dowa_Arena_Destroy(p_response_arena); } @@ -503,8 +503,8 @@ if (mode == SEOBEO_MODE_EDGE) { printf("EDGE MODE\n"); - Seobeo_Web_Edge_2(p_server_handle, p_html_cache); - // Seobeo_Web_Edge(p_server_handle, thread_count, p_html_cache); + // Seobeo_Web_Edge_2(p_server_handle, p_html_cache); + Seobeo_Web_Edge(p_server_handle, thread_count, p_html_cache); } return -1;