Bug #64014 [Opn->Nab]: 10 second delay in returning file_get_contents('php://input')

From: Date: Thu, 24 Jan 2013 13:03:50 +0000
Subject: Bug #64014 [Opn->Nab]: 10 second delay in returning file_get_contents('php://input')
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-176220@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64014&edit=1

 ID:                 64014
 Updated by:         krakjoe@php.net
 Reported by:        dagan at digitalconversations dot tv
 Summary:            10 second delay in returning
                     file_get_contents('php://input')
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            Apache2 related
 Operating System:   ubuntu 12+
 PHP Version:        5.3.21
 Block user comment: N
 Private report:     N

 New Comment:

This is not a bug in PHP, it's a bug in the client that sent the incorrect 
Content-Length header.


Previous Comments:
------------------------------------------------------------------------
[2013-01-17 23:29:48] dagan at digitalconversations dot tv

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 this bug report at https://bugs.php.net/bug.php?id=64014&edit=1


Thread (3 messages)

« previous php.bugs (#176220) next »