Issue #12600 has been updated by konrad rzentarzewski.

i think it's fixed but it wasn't advertised. after setting "http_compression = 
true" on agent and "SetOutputFilter DEFLATE" in passenger on master i get a 
conversation that advertises "Accept-Encoding: gzip" on client and returns 
"Content-Encoding: gzip" (and gzipped catalog) from master.

tcpdump confirms that:

    POST /production/catalog/lb2.arme.corp HTTP/1.0
    Host: puppet
    X-Real-IP: 192.0.2.102
    X-Forwarded-For: 192.0.2.102
    X-Client-Verify: SUCCESS
    X-Client-DN: /CN=lb2.arme.corp
    X-SSL-Subject: /CN=lb2.arme.corp
    X-SSL-Issuer: /CN=stonka.arme.corp
    Connection: close
    Accept: pson, yaml, b64_zlib_yaml, dot, raw
    Accept-Encoding: gzip; q=1.0, deflate; q=1.0; identity
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 8165
    facts_format=b64_zlib_yaml&facts=...

    HTTP/1.1 200 OK
    Date: Wed, 30 Jan 2013 12:46:31 GMT
    Server: Apache/2.2.3 (CentOS) Phusion_Passenger/3.0.17
    X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.17
    Status: 200
    Vary: Accept-Encoding
    Content-Encoding: gzip
    Connection: close
    Content-Type: text/pson
    ^_<8b>^H^@^@^@^@^@^@...
    
----------------------------------------
Feature #12600: Puppet should negotiate the `deflate` C-T-E when serving files.
https://projects.puppetlabs.com/issues/12600#change-82197

Author: Garrett Honeycutt
Status: Accepted
Priority: Normal
Assignee: 
Category: network
Target version: 
Affected Puppet version: 
Keywords: compression fileserving
Branch: 


This would allow you to optionally turn on compression of files being served 
via the fileserving mechanism. I envision you would have a regex of things to 
not compress, so that you did not waste CPU compressing already compressed 
files, like [g|b]zip'd tarballs for instance. We would want to ship with a 
default regex of things to not compress - *.[rar|zip|gz|bz2|mp4]


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to