aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-07 10:51:37 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-07 10:51:37 +0000
commitb9c8de598beefe782e2ba7d4f346feb8b549399e (patch)
tree9fc81b5313fe4e3e6d660002f5f440d3aa2a9316 /tests/server
parent9889a811dbe668d17f30959432a8038d0eaed95f (diff)
Thanks to Scott Davis' detailed reports, I found this premature detection
of the end of a chunked-encoded POST request.
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index bc1f48430..1e341cf0d 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -338,7 +338,7 @@ int ProcessRequest(struct httprequest *req)
}
if(chunked) {
- if(strstr(req->reqbuf, "\r\n0\r\n"))
+ if(strstr(req->reqbuf, "\r\n0\r\n\r\n"))
/* end of chunks reached */
return 1; /* done */
else