diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-09 09:58:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-09 09:58:25 +0000 |
commit | 18f14ae23d7b60dc25c0a08483fca443108638d7 (patch) | |
tree | 7c85723f3cbcdf9b4b16c867824fad879ef5830a /tests/server | |
parent | 98adcdd46619681b714bcabfa4e74628731cf7e9 (diff) |
close the connection when a bad test number was requested
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sws.c | 1 |
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 { |