mirror of
https://github.com/curl/curl.git
synced 2026-06-01 23:54:17 +03:00
close the connection when a bad test number was requested
This commit is contained in:
parent
98adcdd466
commit
18f14ae23d
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue