mirror of
https://github.com/curl/curl.git
synced 2026-04-23 09:12:12 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue