Commit ca5dafce authored by Ralf S. Engelschall's avatar Ralf S. Engelschall
Browse files

get_client_block() returns wrong length if policy is REQUEST_CHUNKED_DECHUNK

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
parent 20f98677
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
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

+5 −1
Original line number Diff line number Diff line
@@ -1444,6 +1444,10 @@ long get_client_block (request_rec *r, char *buffer, int bufsiz)
            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 */