From nobody@hyperreal.org Tue Jul 1 19:58:38 1997 Received: (from nobody@localhost) by hyperreal.org (8.8.5/8.8.5) id TAA20491; Tue, 1 Jul 1997 19:58:38 -0700 (PDT) Message-Id: <199707020258.TAA20491@hyperreal.org> Date: Tue, 1 Jul 1997 19:58:38 -0700 (PDT) From: Kenichi Hori Reply-To: ken@d2.bs1.fc.nec.co.jp To: apbugs@hyperreal.org Subject: get_client_block() returns wrong length if policy is REQUEST_CHUNKED_DECHUNK X-Send-Pr-Version: 3.2 >Number: 815 >Category: protocol >Synopsis: get_client_block() returns wrong length if policy is REQUEST_CHUNKED_DECHUNK >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Tue Jul 1 20:00:01 1997 >Last-Modified: Sat Jul 19 03:21:02 PDT 1997 >Originator: ken@d2.bs1.fc.nec.co.jp >Organization: >Release: 1.2.0 >Environment: FreeBSD 2.2.1-RELEASE >Description: In reading chunked message, get_client_block() always returns the length including the chunk-size line which is discarded when REQUEST_CHUNKED_DECHUNK is specified. The return value is therefore of no use. >How-To-Repeat: This bas not been harmful until I try to actually use REQUEST_CHUNKED_DECHUNK policy, which seems unused in Apache. (hence change-request) >Fix: In line 1450 of http_protocol.c, append "else chunk_start = 0;" to cancel the length of the chunk-size line >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: dgaudet State-Changed-When: Sat Jul 19 03:21:02 PDT 1997 State-Changed-Why: Committed to the 1.3-dev tree. Thanks. Dean >Unformatted: