fix: pipelining now actually works

c-web-server
Jef Roosens 2023-05-29 13:10:31 +02:00
parent 18d67fb69f
commit d725a090a2
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 1 deletions

View File

@ -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