Mercurial
diff seobeo/s_web.c @ 34:6c322f9c2cb9
[Birthday] I didn't have nay time to buy birhtday present so w/e/
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 11 Oct 2025 15:07:07 -0700 |
| parents | c0f6c8c7829f |
| children | 84672efec192 |
line wrap: on
line diff
--- a/seobeo/s_web.c Fri Oct 10 06:59:32 2025 -0700 +++ b/seobeo/s_web.c Sat Oct 11 15:07:07 2025 -0700 @@ -86,10 +86,8 @@ // Extract method (GET, POST, etc.) const char *method = (const char*)Dowa_HashMap_Get(p_req_map, "HTTP_Method"); - printf("Method: %s Pointer %p\n\n", method, p_req_map); if (!method) { - printf("?? wtf\n\n"); Seobeo_Web_Header_Generate(p_response_header, HTTP_BAD_REQUEST, "text/plain", 0); @@ -251,12 +249,8 @@ goto clean_up; clean_up: - printf("CLEAN UP\n\n\n"); if (p_cli_handle) - { - printf("CLEAN UP called on client handle\n\n\n"); Seobeo_Handle_Destroy(p_cli_handle); - } if (p_response_arena) Dowa_Arena_Destroy(p_response_arena); } @@ -487,7 +481,8 @@ sa.sa_flags = SA_RESTART; sigaction(SIGCHLD, &sa, NULL); - while (1) { + while (1) + { Seobeo_PHandle cli = Seobeo_Stream_Handle_Server_Accept(p_server_handle); if (!cli) continue; @@ -498,7 +493,6 @@ p_html_cache); _exit(0); } - Seobeo_Handle_Destroy(cli); } }