Why Nginx Doesn't Implement FastCGI Multiplexing?

Igor Sysoev igor at sysoev.ru
Sat Jul 20 05:42:31 UTC 2013

On Jul 20, 2013, at 9:23 , momyc wrote:

> What do you mean by "stop readning"? Oh, you just stop checking if anything
> is ready for reading. I see. Well, this is rude flow control I'd say.
> Proxied server could unexpectedly drop connection because it would think
> Nginx is dead.

TCP will say to backend that nginx is alive. It can drop only after some timeout.

> There is a nice feature I don't remember how exactly it's called when some
> content could be buffered on Nginx (in proxy mode) and there is strict limit
> of how much could be buffered and when it goes to file. This is what could
> be used for that case. If buffer overflow happens close client, abort
> backend, drop records for that request. Keep connection and keep receiving
> and de-multiplexing records for good requests.

Yes, but it is useless to buffer a long polling connection in a file.

Igor Sysoev

More information about the nginx mailing list