Maxim Dounin
February 07, 2013 07:06AM

On Thu, Feb 07, 2013 at 03:31:02AM -0800, SirNoSkill wrote:

> Hi,
> I have a question regarding nginx-fastcgi.
> I use nginx 1.2.4 from here:
> --------------------------------------------------------------------------------------------------
> sudo -s
> nginx=stable # use nginx=development for latest development version
> add-apt-repository ppa:nginx/$nginx
> apt-get update
> apt-get install nginx
> --------------------------------------------------------------------------------------------------
> The, I use ASP.NET MVC3 on Linux with nginx.
> To do that, I forward requests to nginx via fastcgi-mono-server4.
> So far it works fine, except for this little problem here:
> which I have also forwarded to the mono mailing-list, here:
> It seems to have something todo with HTTP 1.1's chunked transfer
> encoding via the fastcgi-mono-server4.
> So my question to the nginx people:
> Does this version of nginx (1.2.4) support HTTP 1.1 + chunked transfer
> encoding, and that also for the fastcgi-upstream servers ?

It's bad idea to use "Transfer-Encoding" while working via CGI and
derived protocols like FastCGI. Quote from RFC 3875,

The script MUST NOT return any header fields that relate to
client-side communication issues and could affect the server's
ability to send the response to the client.

As you are talking to nginx via FastCGI, not HTTP, it won't try to
dig into content returned and decode it according to any
Transfer-Encoding. Instead, the "Transfer-Encoding" header
returned will be just dropped by nginx as per RFC 3875.

Maxim Dounin

nginx mailing list
Subject Author Posted

Is HTTP 1.1 chuncked file encoding on upstream fastcgi servers working for nginx 1.2.4 ?

SirNoSkill February 07, 2013 06:32AM

Re: Is HTTP 1.1 chuncked file encoding on upstream fastcgi servers working for nginx 1.2.4 ?

Maxim Dounin February 07, 2013 07:06AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
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