always mark requests as done when their code is != 20

This commit is contained in:
Omar Polo 2022-01-27 09:54:48 +00:00
parent 89efa81bcc
commit d28bd963c2
1 changed files with 1 additions and 1 deletions

View File

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