1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 12:05:06 -05:00

close the connection when a bad test number was requested

This commit is contained in:
Daniel Stenberg 2004-12-09 09:58:25 +00:00
parent 98adcdd466
commit 18f14ae23d

View File

@ -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 {