With the keepalive upstream / fastcgi patch nginx is now capable of
out chunked transfers for content received on fastcgi interface.
Is there anyway to get something like apache’s flushpackets
Flushpackets – Determines whether the proxy module will auto-flush the
output brigade after each “chunk” of data.
This would mean setting up an option to send ngx_http_send_special(r,
NGX_HTTP_FLUSH) after every chunk received on fastcgi in order to make
pass gzip module as well? Pointers which module to patch
ngx_http_upstream_keepalive_module, ngx_http_fastcgi_module) and where