Skip to content

Commit ae581b3

Browse files
committed
Another possible code path.
1 parent faf68a6 commit ae581b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gateway.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,9 @@ main_loop(void)
443443
* values that are not -1, 0 or 1. */
444444
if (webserver->lastError == -1) {
445445
/* Interrupted system call */
446-
continue; /* restart loop */
446+
if (NULL != r) {
447+
httpdEndRequest(r);
448+
}
447449
} else if (webserver->lastError < -1) {
448450
/*
449451
* FIXME

0 commit comments

Comments
 (0)