unable to disable automatic gzip responses

440 views
Skip to first unread message

Sunny

unread,
Dec 26, 2012, 9:32:53 PM12/26/12
to jenkins...@googlegroups.com
Hi all,

Version: 1.495 WAR, deployed on Tomcat7 Windows service.

I'm trying to disable the CompressionFilter that is compressing all of Jenkin's responses.

I've found references to a variable org.kohsuke.stapler.compression.CompressionFilter.disabled=true that should have done the job, but on inspecting the HTTP headers in my browser Content-Encoding=gzip always seems to be present. I can verify that the variable is present in both as a Environment Variable and a System Properties in Jenkins.

Gzip is not enabled in Tomcat.

Is there something else that I'm missing?

(I want to disable gzipping the responses to use nginx's HttpSubModule)

thanks,
Sunny

Walter Kacynski

unread,
Apr 8, 2013, 1:39:59 PM4/8/13
to jenkins...@googlegroups.com
Did you verify the HTTP response as opposed to the Request?

Walter Kacynski

unread,
Apr 29, 2013, 10:43:04 AM4/29/13
to jenkins...@googlegroups.com
I have done more testing with this option and I can confirm this behavior that it does not seem possible to disable the gzip response compression.  Does anyone have a solution to this?

https://issues.jenkins-ci.org/browse/JENKINS-14362

Since we use a reverse proxy, I'm considering changing our mod_rewrite rules to strip the Accept-Encoding header to remove gzip as an option.
Reply all
Reply to author
Forward
0 new messages