From d28bd963c2450790bdb6bf2193af5670581c0c24 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 27 Jan 2022 09:54:48 +0000 Subject: [PATCH] always mark requests as done when their code is != 20 --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index ca1d211..e9211d3 100644 --- a/server.c +++ b/server.c @@ -1180,7 +1180,7 @@ start_reply(struct client *c, int code, const char *meta) if (!vhost_disable_log(c->host, c->iri.path)) log_request(c, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb)); - if (code != 20 && IS_INTERNAL_REQUEST(c->type)) + if (code != 20) c->type = REQUEST_DONE; return;