From d725a090a2fc58b8dd0cee6059ac07676565f19c Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Mon, 29 May 2023 13:10:31 +0200 Subject: [PATCH] fix: pipelining now actually works --- src/http_loop/http_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http_loop/http_loop.c b/src/http_loop/http_loop.c index b89005b..1120e75 100644 --- a/src/http_loop/http_loop.c +++ b/src/http_loop/http_loop.c @@ -22,7 +22,7 @@ bool http_loop_handle_request(event_loop_conn *conn) { return false; } - conn->rbuf_read += res; + conn->rbuf_read += ctx->req.len; // It's fun to respond with extremely specific error messages // https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501