From 95fd9a4ae2717a73bc446b29a87ad5bc9f00317e Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 30 Oct 2026 02:35:32 +0100 Subject: Reduce number of per connection sys calls --- ot_http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ot_http.c') diff --git a/ot_http.c b/ot_http.c index c2f7e5e..d4c7363 100644 --- a/ot_http.c +++ b/ot_http.c @@ -56,8 +56,7 @@ void http_close(const int64_t sock) { free(cookie); } - event_del((int)sock); - close((int)sock); + event_close((int)sock); } static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { -- cgit v1.3