Bug #80385 [Com]: Response data preceded by post data

From: Date: Mon, 23 Nov 2020 08:32:33 +0000
Subject: Bug #80385 [Com]: Response data preceded by post data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230531@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80385&edit=1

 ID:                 80385
 Comment by:         306503207 at qq dot com
 Reported by:        306503207 at qq dot com
 Summary:            Response data preceded by post data
 Status:             Open
 Type:               Bug
 Package:            FPM related
 Operating System:   CentOS 7.4
 PHP Version:        7.2.34
 Block user comment: N
 Private report:     N

 New Comment:

I update to PHP-7.3.23, but problems still arise.


Previous Comments:
------------------------------------------------------------------------
[2020-11-23 04:11:54] 306503207 at qq dot com

https://bugs.php.net/bug.php?id=80378
content-type: application/octet-stream

Maybe this bug is also caused by this situation.

------------------------------------------------------------------------
[2020-11-23 03:56:24] 306503207 at qq dot com

After restarting PHP-fpm, the response is correct. After a period of time, this problem occurs
again.In your issue, does it work to restart php-fpm?

------------------------------------------------------------------------
[2020-11-22 23:48:17] requinix@php.net

Right, by "page" I meant the different refreshes of the page in the browser.
If the auto_prepend_file is different then maybe other things are different. Compare the phpinfo
outputs.

------------------------------------------------------------------------
[2020-11-22 23:13:26] shoebox at dnbradio dot com

Well I would agree with you that this is highly unlikely, but these are not 2 different php pages.
It is a single php page that I am refreshing and you can watch the value change from
"none" to "php://input" just by refreshing the page. 

There is nothing special about the configuration. It is a base install of php-fpm running on a
docker container with nginx setup as a standard reverse proxy.  I have even tried using
ini_set("auto_prepend_file","none"); at the top of my script but the phpinfo()
output shows auto_prepend_file changing on its own.

------------------------------------------------------------------------
[2020-11-22 22:18:11] requinix@php.net

I find it highly unlikely that PHP itself is randomly deciding to set auto_prepend_file to
php://input.
Compare the phpinfo outputs from the two different pages - are they perhaps using different php-fpm
pools or configurations?

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


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=80385


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


Thread (53 messages)

« previous php.bugs (#230531) next »