ID:               28625
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jordi at bunster dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         HTTP related
 Operating System: Linux
 PHP Version:      4.3.4
 New Comment:

PHP only supports signed integers, which only go to 2GB - 1. After that
it 'overflows' to negative values. THis is not considered a bug but a
feature.


Previous Comments:
------------------------------------------------------------------------

[2004-06-03 20:18:32] jordi at bunster dot org

Description:
------------
Giving post_max_size a value equal or greater than 2GB on 
php.ini causes php to overflow the variable it uses to store 
that value. The result is log entries similar to this:

"POST Content-Length of 0 bytes exceeds the limit of 
-2147483648 bytes"

Reproduce code:
---------------
Set post_max_size to 2G or more on php.ini, execute a POST operation on
a php script.

Expected result:
----------------
The POST operation should complete, according to the limits 
specified on php.ini

Actual result:
--------------
"POST Content-Length of 0 bytes exceeds the limit of 
-2147483648 bytes" or similar entries on the webserver 
logfile, POST fails.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28625&edit=1

Reply via email to