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:
parent
98adcdd466
commit
18f14ae23d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user