summaryrefslogtreecommitdiff
path: root/tests/fcgi-responder.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2017-01-10 18:16:35 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2017-01-10 18:16:35 -0500
commit16f171588f0d394b0a194155ee906eba159ebb2b (patch)
treedd45aa23a3137e0dfa8fb988d33f7c41031f9f9f /tests/fcgi-responder.c
parent32443ea1c761fe61fbee227a46260a462f373390 (diff)
downloadlighttpd1.4-16f171588f0d394b0a194155ee906eba159ebb2b.tar.gz
lighttpd1.4-16f171588f0d394b0a194155ee906eba159ebb2b.zip
[tests] FCGI_Finish() final request before exit
Diffstat (limited to 'tests/fcgi-responder.c')
-rw-r--r--tests/fcgi-responder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/fcgi-responder.c b/tests/fcgi-responder.c
index 978d7348..d04bc32e 100644
--- a/tests/fcgi-responder.c
+++ b/tests/fcgi-responder.c
@@ -50,6 +50,8 @@ int main (void) {
} else {
printf("test123");
}
+
+ if (0 == num_requests) FCGI_Finish();
}
return 0;