|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-03 01:41 UTC] pajoye@php.net
-Status: Open
+Status: Bogus
[2010-05-03 01:41 UTC] pajoye@php.net
[2010-05-03 01:50 UTC] anatoli at adt dot ee
[2010-05-03 02:33 UTC] pajoye@php.net
-Status: Bogus
+Status: Assigned
-Assigned To:
+Assigned To: pajoye
[2010-05-03 02:33 UTC] pajoye@php.net
[2010-05-03 10:31 UTC] anatoli at adt dot ee
[2010-05-03 10:40 UTC] anatoli at adt dot ee
[2010-05-03 10:46 UTC] pajoye@php.net
[2010-05-03 19:48 UTC] pajoye@php.net
-Status: Assigned
+Status: Closed
[2010-05-03 19:48 UTC] pajoye@php.net
[2010-05-03 21:52 UTC] pajoye@php.net
[2010-06-19 18:42 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Content-length header is limited to 32bit integer on wista 32 systems under apache 2 sapi. header("Content-Length: 2967901695"); Expected on client - Content-Length: 2967901695 Actual - Content-Length: 2147483647 Test script: --------------- <?php header($_SERVER['SERVER_PROTOCOL'].' 200 OK'); header('Accept-Ranges: bytes'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename=test.txt'); header("Content-Transfer-Encoding: binary"); header("Content-Length: 2967901695"); header('Connection: close'); //we open file with size exactly 2967901695 bytes $fp = fopen("somefile.name", 'rb'); fpassthru($fp); ?> Expected result: ---------------- Content-Length: 2967901695 Actual result: -------------- Content-Length: 2147483647