Bug #64014 [NEW]: 10 second delay in returning file_get_contents('php://input')

From: Date: Thu, 17 Jan 2013 23:29:48 +0000
Subject: Bug #64014 [NEW]: 10 second delay in returning file_get_contents('php://input')
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176082@lists.php.net to get a copy of this message
From:             dagan at digitalconversations dot tv
Operating system: ubuntu 12+
PHP version:      5.3.21
Package:          Apache2 related
Bug Type:         Bug
Bug description:10 second delay in returning file_get_contents('php://input')

Description:
------------
If an invalid Content-Length header is sent with a request, attempting to
read the 
request body via file_get_contents('php://input') results in a delay of 10
seconds  
while, I assume, a timeout is waited on.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=64014&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=64014&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=64014&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=64014&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64014&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64014&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64014&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64014&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64014&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64014&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64014&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=64014&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=64014&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64014&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64014&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64014&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64014&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64014&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64014&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64014&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64014&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#176082) next »