mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
always mark requests as done when their code is != 20
This commit is contained in:
parent
89efa81bcc
commit
d28bd963c2
2
server.c
2
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))
|
if (!vhost_disable_log(c->host, c->iri.path))
|
||||||
log_request(c, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb));
|
log_request(c, EVBUFFER_DATA(evb), EVBUFFER_LENGTH(evb));
|
||||||
|
|
||||||
if (code != 20 && IS_INTERNAL_REQUEST(c->type))
|
if (code != 20)
|
||||||
c->type = REQUEST_DONE;
|
c->type = REQUEST_DONE;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user