diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-30 02:35:32 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-30 02:35:32 +0100 |
| commit | 95fd9a4ae2717a73bc446b29a87ad5bc9f00317e (patch) | |
| tree | 36b0a0accb4da8269faf0c8e80455b83d04a6456 /ot_http.c | |
| parent | e3efacd05d8a74b2f753dd8afbfe62baa1e0770e (diff) | |
Reduce number of per connection sys calls
Diffstat (limited to 'ot_http.c')
| -rw-r--r-- | ot_http.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -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 | ||
| 63 | static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { | 62 | static void http_senddata(const int64_t sock, struct ot_workstruct *ws) { |
