Question about upstream keepalive + fastcgi + gzip

Primoz Bratanic primoz at slo-tech.com
Sun Oct 30 15:34:10 UTC 2011


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111030/872c00f8/attachment.html>


More information about the nginx mailing list