Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
From: sukarsa at ingenovie dot com Date: Mon, 05 Feb 2018 09:03:22 +0000 Subject: Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-213812@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60826&edit=1
ID: 60826
Comment by: sukarsa at ingenovie dot com
Reported by: clarkwise at gmail dot com
Summary: raw POST data missing with chunked encoding, FastCGI
Status: Not a bug
Type: Bug
Package: CGI/CLI related
Operating System: Windows XP
PHP Version: 5.3.9
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Hi,
Is there any solution to request with chunked encoding with php?
I observe that server is waiting indefinitely until client time-out and then process the packet with
empty body.
I'm using php 7.2 and I think it still have this problem.
Previous Comments:
------------------------------------------------------------------------
[2016-06-27 23:47:45] ravikumar dot nie at gmail dot com
Well I am still facing this problem.
Any hints to solve this issue.
I am using fastcgi and php and trying to read the POST Data sent as transfer-encoding:chunked.
Appreciate any help
------------------------------------------------------------------------
[2012-08-17 08:12:43] ab@php.net
at the end of the day, this is not a php bug
------------------------------------------------------------------------
[2012-05-30 21:10:19] dominic dot benson at thirdlight dot com
For Apache mod_fcgid, I have a patch available in the bug I filed at
https://issues.apache.org/bugzilla/show_bug.cgi?id=53332
Essentially, PHP is following the spec, and not reading beyond the FastCGI
CONTENT_LENGTH header value - so correct fixes are necessarily above PHP, in the
FastCGI or web server implementation.
------------------------------------------------------------------------
[2012-04-23 14:34:00] andres at fenestrae dot com
@florian dot fernandez at navaho dot fr
Florian,
I'm afraid i cannot help you any further on Linux.
The solution is not specific for Windows.
What I did to tackle the problem at first is to write a small program that ran instead of php-cgi
which copied whatever it received on stdin to an other a mailslot.
This output I fed into php-cgi to reproduce an pinpoint the cause.
Regards Andre
------------------------------------------------------------------------
[2012-04-23 10:59:25] florian dot fernandez at navaho dot fr
Maybe I did something wrong but the patch doesn't seem to work with PHP 5.4.0 on Linux.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=60826
--
Edit this bug report at https://bugs.php.net/bug.php?id=60826&edit=1
Thread (30 messages)
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Opn->Asn]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Asn]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Asn->Nab]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [PATCH]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Nab]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
- Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
| « previous | php.bugs (#213812) | next » |
|---|