Feature #1773

mod_compress disabling methods

Added by glen over 5 years ago. Updated over 5 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:mod_compress
Target version:1.4.21
Missing in 1.5.x:

Description

mod_compress doesn't allow you to disable bzip2 method

History

#1 Updated by glen over 5 years ago

  • 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" )

#3 Updated by glen over 5 years ago

The syntax is now:


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

#4 Updated by glen over 5 years ago

submitted in r2325 for lighttpd-1.4.x

#5 Updated by stbuehler over 5 years ago

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

#6 Updated by glen over 5 years ago

also added in r2331 for lighttpd-1.5

#7 Updated by Olaf-van-der-Spek over 5 years ago

Just wondering, why would you disable encodings?

#8 Updated by glen over 5 years ago

  • 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

#9 Updated by glen over 5 years ago

  • % Done changed from 0 to 100

#10 Updated by glen over 5 years ago

  • Patch available changed from No to Yes

Also available in: Atom