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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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