From 5b25f89d00433f1c11576d1ea19304797dc60d1b Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 31 Oct 2026 18:48:00 +0100 Subject: Refactor ot_workqueue out of ot_mutex, no behaviour change --- ot_http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ot_http.c') diff --git a/ot_http.c b/ot_http.c index 602ff94..b0e1de3 100644 --- a/ot_http.c +++ b/ot_http.c @@ -22,6 +22,7 @@ #include "ot_iovec.h" #include "ot_ip.h" #include "ot_mutex.h" +#include "ot_workqueue.h" #include "ot_scan.h" #include "ot_event.h" #include "ot_fdstate.h" @@ -77,7 +78,7 @@ void http_close(const int64_t sock) { free(cookie->batch); buf_reset(&cookie->request); if (cookie->flag & (STRUCT_HTTP_FLAG_WAITINGFORTASK | STRUCT_HTTP_FLAG_CHUNKED_IN_TRANSFER)) - mutex_workqueue_canceltask(sock); + workqueue_canceltask(sock); if (!(cookie->flag & STRUCT_HTTP_FLAG_ONSTACK)) free(cookie); } -- cgit v1.3