aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sws.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 7ca14de08..8503cf2fb 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -305,6 +305,7 @@ int ProcessRequest(struct httprequest *req)
stream=fopen(filename, "rb");
if(!stream) {
logmsg("Couldn't open test file %d", req->testno);
+ req->open = FALSE; /* closes connection */
return 0;
}
else {