From ebf57dfc03c9f3bda5ee065d45c28feb6ebb1c97 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 30 Oct 2026 03:25:35 +0100 Subject: Reduce syscalls and add helper to count them --- opentracker.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'opentracker.c') diff --git a/opentracker.c b/opentracker.c index 6160696..b54327a 100644 --- a/opentracker.c +++ b/opentracker.c @@ -199,8 +199,6 @@ static void handle_accept(const int64_t serversocket, struct ot_workstruct *ws) while ((sock = socket_accept(serversocket, ip, &port)) != -1) { - socket_set_blocking((int)sock, 0); - if (!(cookie = (struct http_data *)calloc(1, sizeof(struct http_data)))) { close((int)sock); continue; -- cgit v1.3