summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-30 02:35:32 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-30 02:35:32 +0100
commit95fd9a4ae2717a73bc446b29a87ad5bc9f00317e (patch)
tree36b0a0accb4da8269faf0c8e80455b83d04a6456 /ot_http.c
parente3efacd05d8a74b2f753dd8afbfe62baa1e0770e (diff)
Reduce number of per connection sys calls
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c3
1 files changed, 1 insertions, 2 deletions
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) {
56 free(cookie); 56 free(cookie);
57 } 57 }
58 58
59 event_del((int)sock); 59 event_close((int)sock);
60 close((int)sock);
61} 60}
62 61
63static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { 62static void http_senddata(const int64_t sock, struct ot_workstruct *ws) {