FastCGI problem

Chancey chanceycn at gmail.com
Tue Jun 8 15:14:40 MSD 2010


于 2010-6-8 16:43, Weibin Yao 写道:
> 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
>>
>
>
thanks, any way else?



More information about the nginx mailing list