rse 97/07/30 08:25:32
Modified: src Tag: APACHE_1_2_X CHANGES http_protocol.c Log: get_client_block() returns wrong length if policy is REQUEST_CHUNKED_DECHUNK PR: 815 Submitted by: Kenichi Hori <[EMAIL PROTECTED]> Reviewed by: Dean Gaudet, Ralf S. Engelschall, Jim Jagielski Revision Changes Path No revision No revision 1.286.2.33 +4 -0 apache/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache/src/CHANGES,v retrieving revision 1.286.2.32 retrieving revision 1.286.2.33 diff -u -r1.286.2.32 -r1.286.2.33 --- CHANGES 1997/07/30 15:16:49 1.286.2.32 +++ CHANGES 1997/07/30 15:25:27 1.286.2.33 @@ -1,5 +1,9 @@ Changes with Apache 1.2.2 + *) get_client_block() returns wrong length if policy is + REQUEST_CHUNKED_DECHUNK. + [Kenichi Hori <[EMAIL PROTECTED]>] PR#815 + *) Properly treat <files> container like other containers in mod_info. [Marc Slemko] PR#848 1.126.2.4 +5 -1 apache/src/http_protocol.c Index: http_protocol.c =================================================================== RCS file: /export/home/cvs/apache/src/http_protocol.c,v retrieving revision 1.126.2.3 retrieving revision 1.126.2.4 diff -u -r1.126.2.3 -r1.126.2.4 --- http_protocol.c 1997/07/19 20:17:40 1.126.2.3 +++ http_protocol.c 1997/07/30 15:25:29 1.126.2.4 @@ -1444,7 +1444,11 @@ 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 */