summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-05 16:39:58 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-05 16:39:58 +0100
commit194fc0b2f7aa37ca25a9ea058eac699b2824e95a (patch)
tree4bf04f513beab33e5e1c76acaca20bceb763d78b /src
parent63bbb9320d101f17e1dc75d35746f5cdff285668 (diff)
Mark sockets as desinterested after reading the first task, so that the next one does not replace the old one mid flight
Diffstat (limited to 'src')
-rw-r--r--src/ot_http.c1
1 files changed, 1 insertions, 0 deletions
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
379 379
380 /* Complex stats also include expensive memory debugging tools */ 380 /* Complex stats also include expensive memory debugging tools */
381 fdstate_set_expiry(sock, 0); 381 fdstate_set_expiry(sock, 0);
382 http_interest_set(sock, cookie, 0);
382 383
383 if (!http_adopt(sock)) 384 if (!http_adopt(sock))
384 HTTPERROR_500; 385 HTTPERROR_500;