You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "KK.Kon" <kk...@mizar.freemail.ne.jp> on 2002/02/05 01:36:09 UTC
general/9714: Content-Length invalid, 2G over file
>Number: 9714
>Category: general
>Synopsis: Content-Length invalid, 2G over file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Feb 04 16:40:00 PST 2002
>Closed-Date:
>Last-Modified: Fri, 28 Dec 2001 05:45:06 GMT
>Originator: kkkon@mizar.freemail.ne.jp
>Release: 1.3.22
>Organization:
apache
>Environment:
apache_1.3.22, Turbo Linux Server 6.5, and
apache_1.3.22, FreeBSD 4.5-RELEASE
>Description:
src/main/http_protocol.c ap_set_byterange
long length, start, end, one_start = 0, one_end = 0;
these doesn't use AP_LONGEST_LONG.
download file
>How-To-Repeat:
>Fix:
src/main/http_protocol.c ap_set_byterange
if supported AP_LONGEST_LONG,
change var's type from long to AP_LONGEST_LONG.
And ap_psprintf function call's parameter change from %l to %q.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]
>-rw-r--r-- 1 nobody nobody 2147483648 Dec 28 14:45 file2Gover.tgz
log
>GET /test/file2Gover.tgz HTTP/1.0
>Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, >application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, >*/*
>Accept-Language: ja
>User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; DigExt; Q312461)
>Host: xxx.xxx.xxx:xxxx
>Connection: Keep-Alive
>
>HTTP/1.1 200 OK
>Date: Mon, 28 Jan 2002 04:50:33 GMT
>Server: Apache/1.3.22 (Unix)
>ETag: "17ea0-80000000-3c2c06e2"
>Accept-Ranges: bytes
>Content-Length: -2147483648
>Keep-Alive: timeout=15, max=100
>Connection: Keep-Alive
>Content-Type: application/x-tar
>Content-Encoding: x-gzip