Thanks to Scott Davis' detailed reports, I found this premature detection

of the end of a chunked-encoded POST request.
This commit is contained in:
Daniel Stenberg 2005-09-07 10:51:37 +00:00
parent 9889a811db
commit b9c8de598b

View File

@ -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