How to disable buffering when using FastCGI?

Nicolas Grilly nicolas at gardentechno.com
Tue Oct 13 18:20:00 MSD 2009


On Tue, Oct 13, 2009 at 13:19, Maxim Dounin <mdounin at mdounin.ru> wrote:
> On Tue, Oct 13, 2009 at 12:17:05PM +0200, Nicolas Grilly wrote:
>
>> Is there a way to disable buffering when using FastCGI? (for a Comet
>> style application)
>>
>> Is there an option "fastcgi_buffering off", working like the option
>> "proxy_buffering off" in the HTTP proxy module?
>
> No, there is no such option.  Buffering can't be disabled for
> fastcgi.

Hello Maxim,

Is there no such option just because nobody implemented it? Or is it
because of some kind of technical constraint?

Do you recommend to people developing Comet style application to use
HTTP proxying instead of FastCGI?

Is it difficult to implement the option "fastcgi_buffering off", using
the same technique as in the source code of module HTTP proxy?

Thanks for your advice,

Nicolas Grilly





More information about the nginx mailing list