projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98adcdd
)
close the connection when a bad test number was requested
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 9 Dec 2004 09:58:25 +0000
(09:58 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 9 Dec 2004 09:58:25 +0000
(09:58 +0000)
tests/server/sws.c
patch
|
blob
|
history
diff --git
a/tests/server/sws.c
b/tests/server/sws.c
index
7ca14de
..
8503cf2
100644
(file)
--- 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 {