PR: 815
Submitted by: Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>
Reviewed by: Dean Gaudet, Ralf S. Engelschall, Jim Jagielski
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3@78817
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.2.2
+ *) get_client_block() returns wrong length if policy is
+ REQUEST_CHUNKED_DECHUNK.
+ [Kenichi Hori <ken@d2.bs1.fc.nec.co.jp>] PR#815
+
*) Properly treat <files> container like other containers in mod_info.
[Marc Slemko] PR#848
buffer[chunk_start++] = LF;
buffer += chunk_start; /* and pass line on to caller */
bufsiz -= chunk_start;
- }
+ } else {
+ /* REQUEST_CHUNKED_DECHUNK -- do not include the length of
+ * the header in the return value */
+ chunk_start = 0;
+ }
}
/* When REQUEST_CHUNKED_PASS, we are */
if (r->remaining == -1) { /* reading footers until empty line */