Skip to content

Commit faf68a6

Browse files
committed
Always end the request, in all code paths
1 parent ce6de47 commit faf68a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gateway.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ main_loop(void)
475475
/* webserver->lastError should be 2 */
476476
/* XXX We failed an ACL.... No handling because
477477
* we don't set any... */
478+
if (NULL != r) {
479+
httpdEndRequest(r);
480+
}
478481
}
479482
}
480483

0 commit comments

Comments
 (0)