]> git.kaiwu.me - nginx.git/commit
Memcached: memcached_gzip_flag directive.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 10 Sep 2012 16:43:49 +0000 (16:43 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 10 Sep 2012 16:43:49 +0000 (16:43 +0000)
commit23a959615e0e7f73c5503582a3e70a5e08edc493
tree6cd217509951bd6d12ae5b636294ea32fd845b34
parent604f4e6cdcfecb516be1a03c890878f588fd853e
Memcached: memcached_gzip_flag directive.

This directive allows to test desired flag as returned by memcached and
sets Content-Encoding to gzip if one found.

This is reimplementation of patch by Tomash Brechko as available on
http://openhack.ru/.  It should be a bit more correct though (at least
I think so).  In particular, it doesn't try to detect if we are able to
gunzip data, but instead just sets correct Content-Encoding.
src/http/modules/ngx_http_memcached_module.c