You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Kenichi Hori <ke...@d2.bs1.fc.nec.co.jp> on 1997/07/02 05:00:02 UTC
protocol/815: get_client_block() returns wrong length if policy is REQUEST_CHUNKED_DECHUNK
>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 (Apache HTTP Project)
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Tue Jul 1 20:00:01 1997
>Originator: ken@d2.bs1.fc.nec.co.jp
>Organization:
apache
>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:
>Unformatted: