aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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