Bug #51723 [Csd]: Content-length header is limited to 32bit integer
| From: | pajoye@php.net | Date: | Sat, 19 Jun 2010 16:42:26 +0000 |
| Subject: | Bug #51723 [Csd]: Content-length header is limited to 32bit integer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151636@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51723&edit=1
ID: 51723
Updated by: pajoye@php.net
Reported by: anatoli at adt dot ee
Summary: Content-length header is limited to 32bit integer
Status: Closed
Type: Bug
Package: Apache2 related
Operating System: vista 32
PHP Version: 5.2.13
Assigned To: pajoye
New Comment:
See #50940 too.
Previous Comments:
------------------------------------------------------------------------
[2010-05-03 21:52:01] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=298930
Log: - revert fix for #51723 in 5.2, vc6 does not support strtoi64, use
builtin functioon in 5.3 (trunk is vc9+ only)
------------------------------------------------------------------------
[2010-05-03 19:48:08] pajoye@php.net
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2010-05-03 10:46:33] pajoye@php.net
Windows 64bit is not always limited to 32bit if the correct type are
used (__int64 & co).
About unix, that's the same reason. Long is 64bit on 64bit linux while
being 32bit on 32bit linux. As I will fix this problem on windows, it
won't ever work on 32bit linux, but that's not really an issue as it
never worked on these old systems.
------------------------------------------------------------------------
[2010-05-03 10:40:54] anatoli at adt dot ee
Was not able to find 32bit unix/linux system.
Tested on 64bit both cgi and apache sapi - working, content-type header
data is correct.
------------------------------------------------------------------------
[2010-05-03 10:31:39] anatoli at adt dot ee
Ok, now i got the point. Yes i really missed that long in windows is
always 32bit by default and as i remember in 64bit windows it is also
limited to 32bit. There must be used long long type, but i am not sure
that this is possible.
But anyway thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=51723
--
Edit this bug report at http://bugs.php.net/bug.php?id=51723&edit=1