Skip to content
Snippets Groups Projects
Commit b9c8de59 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

of the end of a chunked-encoded POST request.
parent 9889a811
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment