Welcome! Log In Create A New Profile


php-pfm + chucked encoding

Posted by freost 
php-pfm + chucked encoding
June 18, 2014 10:39AM

I have a PHP application that outputs chunk-encoded data (http://en.wikipedia.org/wiki/Chunked_transfer_encoding) along with a "transfer-encoding: chunked" header.

This works as expected using apache but not when I'm using nginx+php-fpm.

The "transfer-encoding: chunked" header is replaced by a "transfer-encoding: identity" header and this makes it impossible for the client to properly decode the response since it doesn't know that the data is chunk-encoded.

Anyone know how to solve this? I'm using nginx/1.4.6 (Ubuntu) and PHP 5.5.9-1ubuntu4.

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 48
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready