Bug #60826 [Com]: raw POST data missing with chunked encoding, FastCGI
From: dominic dot benson at thirdlight dot com Date: Wed, 30 May 2012 21:10:20 +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-170938@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: dominic dot benson at thirdlight dot com
Reported by: clarkwise at gmail dot com
Summary: raw POST data missing with chunked encoding, FastCGI
Status: Assigned
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2012-04-23 08:08:19] florian dot fernandez at navaho dot fr
Sorry, I didn't see it before. I'll give it a try with 5.4.0
------------------------------------------------------------------------
[2012-04-23 08:00:32] andres at fenestrae dot com
florian dot fernandez at navaho dot fr
I have been able to try my solution in combination with 5.2.17.
See the patches in this topic for the exact code-changes I made.
------------------------------------------------------------------------
[2012-04-23 07:52:12] florian dot fernandez at navaho dot fr
@ andres at fenestrae dot com
Have you been able to try what you suggested in your last post ?
------------------------------------------------------------------------
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 (#170938) | next » |
|---|