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:
parent
9889a811db
commit
b9c8de598b
@ -338,7 +338,7 @@ int ProcessRequest(struct httprequest *req)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(chunked) {
|
if(chunked) {
|
||||||
if(strstr(req->reqbuf, "\r\n0\r\n"))
|
if(strstr(req->reqbuf, "\r\n0\r\n\r\n"))
|
||||||
/* end of chunks reached */
|
/* end of chunks reached */
|
||||||
return 1; /* done */
|
return 1; /* done */
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user