www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KK.Kon <kk...@mizar.freemail.ne.jp>
Subject general/9714: Content-Length invalid, 2G over file
Date Tue, 05 Feb 2002 00:36:09 GMT

>Number:         9714
>Category:       general
>Synopsis:       Content-Length invalid, 2G over file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Feb 04 16:40:00 PST 2002
>Last-Modified:  Fri, 28 Dec 2001 05:45:06 GMT
>Originator:     kkkon@mizar.freemail.ne.jp
>Release:        1.3.22
apache_1.3.22, Turbo Linux Server 6.5, and
apache_1.3.22, FreeBSD 4.5-RELEASE
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

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.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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
 >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

View raw message