FastCGI problem

Weibin Yao nbubingo at gmail.com
Tue Jun 8 12:43:47 MSD 2010


Chancey at 2010-6-8 16:22 wrote:
> Hi, all:
>
> I wrote a fastcgi program to upload files, i want stop receive and wrote
> like this:
>
> while(FCGI_Accept() >= 0)
>    {
> 	if(filesize)	continue;
>    }
>
>
> but i found nginx received all stream from brower and then send stream to fastcgi server.
>
> How to immediately respond to browser ? thanks
>
>
>   
No, you can't. Nginx always buffers all the request body and then send 
it to backend together.
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>   


-- 
Weibin Yao




More information about the nginx mailing list