Welcome! Log In Create A New Profile

Advanced

Re: Fastcgi chunked data

Maxim Dounin
August 19, 2011 03:40AM
Hello!

On Fri, Aug 19, 2011 at 08:39:02AM +0800, Shaun savage wrote:

> I have a fastcgi server connection that send chunks of data. I would
> like to have the chucks of data written to downstream, not buffered.
>
> I want to send chunked data from the server, but nginx buffers the data,
> I want to flush the data immediately.

As of now nginx will always buffer fastcgi response up to full buffer
(see fastcgi_buffers directive) filled.

If you really need data to be flushed immediately, you may try the
patch from here:

http://mailman.nginx.org/pipermail/nginx/2011-August/028324.html

It is to address completely different problem, but as a side
effect with the patch complete fastcgi records will be sent without
further buffering.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Fastcgi chunked data

Shaun savage August 18, 2011 08:40PM

Re: Fastcgi chunked data

Ensiferous August 19, 2011 12:45AM

Re: Fastcgi chunked data

Maxim Dounin August 19, 2011 03:40AM

Re: Fastcgi chunked data

Shaun savage August 19, 2011 05:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 289
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready