Commit 18f14ae2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

close the connection when a bad test number was requested

parent 98adcdd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {