Hi,
With the keepalive upstream / fastcgi patch nginx is now capable of
sending
out chunked transfers for content received on fastcgi interface.
Is there anyway to get something like apache’s flushpackets
functionality?
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
it
pass gzip module as well? Pointers which module to patch
(ngx_http_upstream,
ngx_http_upstream_keepalive_module, ngx_http_fastcgi_module) and where
are
very welcome.
Best regards,
Primoz