summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/functions/require.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2010-04-11 16:37:48 +0200
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit052f98fdac20af4593372ecedaa13af97664a482 (patch)
tree5e10e9f38d9fac54ffde27fbe19642e793bd95ac /lib/puppet/parser/functions/require.rb
parent3eaf69c4cedeb452f88b0d9e27d12dcdba7e7c22 (diff)
downloadpuppet-052f98fdac20af4593372ecedaa13af97664a482.tar.gz
puppet-052f98fdac20af4593372ecedaa13af97664a482.tar.xz
puppet-052f98fdac20af4593372ecedaa13af97664a482.zip
Fix #3408 - enable puppetd http compression
This patch adds HTTP response decompression (both gzip and deflate streams). This feature is disabled by default, and enabled with --http_compression. This feature can be activated only if the local ruby version supports the zlib ruby extension. HTTP response decompression is active for all REST communications and file sourcing. To enable http compression on the server side, it is needed to use a reverse proxy like Apache or Nginx with adhoc configuration: Nginx: gzip on; gzip_types text/pson text/json text/marshall text/yaml application/x-raw text/plain; Apache: LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so AddOutputFilterByType DEFLATE text/plain text/pson text/json text/marshall text/yaml application/x-raw Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/parser/functions/require.rb')
0 files changed, 0 insertions, 0 deletions