aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-01-27 09:54:48 +0000
committerOmar Polo <op@omarpolo.com>2022-01-27 09:54:48 +0000
commitd28bd963c2450790bdb6bf2193af5670581c0c24 (patch)
treec8083395d9200cb22994d7d722fb84db7bcb9088 /server.c
parent89efa81bcc2b069fa1cca7c1868bd056f2a38f74 (diff)
always mark requests as done when their code is != 20
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
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;