Feature #1773

mod_compress disabling methods

Added by glen 110 days ago. Updated 44 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:mod_compress
Target version:1.4.21
Pending:

No

Resolution:

fixed

Patch available:

No


Description

mod_compress doesn't allow you to disable bzip2 method

History

09/19/2008 12:39 PM - glen

  • Status changed from New to Assigned

i've planned to implment it with as mod_deflate from 1.5 branch:


compress.allowed_encodings = ( "bzip2", "gzip", "deflate" )

10/03/2008 10:05 AM - glen

The syntax is now:


compress.allowed-encodings = ( "bzip2", "gzip", "deflate" )

10/03/2008 10:06 AM - glen

submitted in r2325 for lighttpd-1.4.x

10/04/2008 04:10 PM - stbuehler

  • Status changed from Assigned to Fixed
  • Resolution set to fixed

10/04/2008 11:25 PM - glen

also added in r2331 for lighttpd-1.5

11/24/2008 12:21 AM - Olaf-van-der-Spek

Just wondering, why would you disable encodings?

11/24/2008 12:56 AM - glen

  • Patch available set to No

squid 2.6 is stupid enough to not to differenciate between the headers and serving bzip2 compressed body for clients that are unable to render it. i.e client did not send Accept-Encoding: bzip2, but it still gets one.

however it seems that recent browsers, if they get page that they didn't ask (zlib compressed page) are able to still use that page if the headers match. so as zlib works for most of the browsers, i needed to disable only bzip2

11/24/2008 12:56 AM - glen

  • % Done changed from 0 to 100

Also available in: Atom PDF