FastCGI problem

Peter Leonov gojpeg at gmail.com
Tue Jun 8 12:52:24 MSD 2010


Hi, Chancey,

On 08.06.2010, at 12:22, Chancey <chanceycn at gmail.com> 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

Could you please try to limit request body size with nginx directive  
client_max_body_size?

Best regards,
Peter.



More information about the nginx mailing list