From 194fc0b2f7aa37ca25a9ea058eac699b2824e95a Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 5 Nov 2026 16:39:58 +0100 Subject: Mark sockets as desinterested after reading the first task, so that the next one does not replace the old one mid flight --- src/ot_http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ot_http.c b/src/ot_http.c index 1b8f5ef..e6a8db7 100644 --- a/src/ot_http.c +++ b/src/ot_http.c @@ -379,6 +379,7 @@ static ssize_t http_handle_stats(const int64_t sock, struct ot_workstruct *ws, c /* Complex stats also include expensive memory debugging tools */ fdstate_set_expiry(sock, 0); + http_interest_set(sock, cookie, 0); if (!http_adopt(sock)) HTTPERROR_500; -- cgit v1.3