diff options
author | Omar Polo <op@omarpolo.com> | 2022-01-27 09:54:48 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-01-27 09:54:48 +0000 |
commit | d28bd963c2450790bdb6bf2193af5670581c0c24 (patch) | |
tree | c8083395d9200cb22994d7d722fb84db7bcb9088 /server.c | |
parent | 89efa81bcc2b069fa1cca7c1868bd056f2a38f74 (diff) |
always mark requests as done when their code is != 20
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |