Why Nginx Doesn't Implement FastCGI Multiplexing?
igor at sysoev.ru
Sat Jul 20 05:00:44 UTC 2013
On Jul 20, 2013, at 8:41 , momyc wrote:
> OK, it probably closes connection to backend server. Well, in case of
> multiplexed FastCGI Nginx should do two things:
> 1) send FCGI_ABORT_REQUEST to backend for given request
> 2) start dropping records for given request if it still receives records
> from backend for given request
Suppose a slow client. Since nginx receives data quickly backend will
send data quickly too because it does not know about slow client.
At some point buffered data surpasses limit and nginx has to abort
connection to backend. It does not happen if backend knows a real speed
of the client.
More information about the nginx