Welcome! Log In Create A New Profile

Advanced

PHP5-FPM + Nginx + Rather big POST body = 402 Payment Required

Posted by e000 
PHP5-FPM + Nginx + Rather big POST body = 402 Payment Required
June 04, 2012 10:37PM
To replicate the issue, I set up PHP-FPM and NGINX and send a POST request with a big field (say foo = "a" * 400,000), and then my server replies:

402 Payment Required

And a blank page.

I cannot figure out why this is happening!
Re: PHP5-FPM + Nginx + Rather big POST body = 402 Payment Required
June 04, 2012 10:48PM
I figured out the issue, turns out it was suhosin sending the 402 error as it triggered its request's max length filter. Whoops! suhosin writes to syslog and was complaining about it too, I just didn't look there.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 101
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready