Question about upstream keepalive + fastcgi + gzip

Primoz Bratanic primoz at
Sun Oct 30 15:34:10 UTC 2011



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,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list