The request buffer in Nginx Http FcgiModule

li zJay zjay1987 at gmail.com
Thu Mar 18 04:12:39 MSK 2010


Why the Nginx has to buffer the whole request body before send it to FastCGI
Server?
I tried to change the following configurations:
    fastcgi_buffer_size
    fastcgi_buffers
    fastcgi_busy_buffers_size
    fastcgi_temp_file_write_size

But it didn't help.

Thanks!

On Thu, Mar 18, 2010 at 12:07 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Wed, Mar 17, 2010 at 11:54:33PM +0800, li zJay wrote:
>
> > Hello everybody:
> > When working with Fast CGI Module,  I find that Nginx buffers the whole
> > request content before send it to the FastCGI Server.
> >
> > For example, the client uploads a file of 10MB to Nginx, I notice that
> the
> > backend Fast CGI server didn't receive any request until
> > all the 10MB data has been upload to the Nginx.
> >
> > I want to upload a very very large file like a stream and process it in
> the
> > backend FastCGIServer as the request begins, how can I do
> > this with Nginx + FastCGIModule?
>
> No way.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>


zJay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100318/ca9c6ff5/attachment.html>


More information about the nginx mailing list