diff seobeo/os/s_linux_edge.c @ 16:fb2cff495a60

[Seobeo] Fixed the problem with edge server.
author June Park <parkjune1995@gmail.com>
date Fri, 03 Oct 2025 09:55:51 -0700
parents 114cad94008f
children d97ec3ded2ae
line wrap: on
line diff
--- a/seobeo/os/s_linux_edge.c	Fri Oct 03 06:50:33 2025 -0700
+++ b/seobeo/os/s_linux_edge.c	Fri Oct 03 09:55:51 2025 -0700
@@ -23,11 +23,9 @@
         epoll_ctl(args->evfd, EPOLL_CTL_ADD,
                   cli->socket, &ev);
       } else {
-        // client ready
-        Seobeo_Web_HandleClientRequest(h, args->cache);
+        Seobeo_Web_HandleClientRequest(h, args->cache); // This frees
         epoll_ctl(args->evfd, EPOLL_CTL_DEL,
                   h->socket, NULL);
-        Seobeo_Handle_Destroy(h);
       }
     }
   }