kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit c5a1e77535e3073f7e530d2dab2074078162e4f8
parent 1ff3c0f6f7973dc7fc8bf38369790ef2d8079b3b
Author: Joris Vink <joris@sanctorum.se>
Date:   Sat,  3 Oct 2026 21:28:35 +0200

http: New requests should go at the end of the queue.

New requests were being inserted at the head of the HTTP queue,
before older pending requests, causing them to start being handled
before the old ones.

Diffstat:
src/http.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/http.c b/src/http.c @@ -2072,7 +2072,7 @@ http_request_new(struct connection *c, const char *host, #endif http_request_count++; - TAILQ_INSERT_HEAD(&http_requests, req, list); + TAILQ_INSERT_TAIL(&http_requests, req, list); TAILQ_INSERT_TAIL(&(c->http_requests), req, olist); if (http_check_redirect(req, dom)) {