We're seeing an issue that sounds identical to the one reported here:
Intermittent empty $_POST issue
I'm not sure if that question was ever resolved (but I don't have the ability to comment on that post).
It is an extjs form submitted thousands of times a day (json encoded data), with maybe 20 failures getting logged (to a text log we're keeping) each day. We're on Apache, PHP 5.3.14.
We've done extensive searches on users experiencing empty and truncated POST data and tried a number of things, including:
- checking value of php://input (also empty/truncated)
- checking/increasing config settings like post_max_size
- explicitly setting content type
- experimenting with keepalive settings
- when data is truncated, it is seemingly random (not special characters)
- the length of data POSTed doesn't seem to be a factor (truncates at random place, independent of how many fields are being POSTed back)
One potential clue is that when the POST comes back completely empty, it seems to always be with Internet Explorer or Safari. For the ones that are truncated, it doesn't appear to be specific to a particular browser (so it is possible that there are two separate problems at work here).
We're running out of ideas about what to try -- any ideas?