Project

General

Profile

Feature #1773

closed

mod_compress disabling methods

Added by glen about 12 years ago. Updated over 11 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_compress
Target version:
ASK QUESTIONS IN Forums:

Description

mod_compress doesn't allow you to disable bzip2 method

#1

Updated by glen about 12 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 almost 12 years ago

The syntax is now:


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

Updated by glen almost 12 years ago

submitted in r2325 for lighttpd-1.4.x

#5

Updated by stbuehler almost 12 years ago

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

Updated by glen almost 12 years ago

also added in r2331 for lighttpd-1.5

#7

Updated by Olaf-van-der-Spek almost 12 years ago

Just wondering, why would you disable encodings?

#8

Updated by glen almost 12 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 almost 12 years ago

  • % Done changed from 0 to 100
#10

Updated by glen over 11 years ago

  • Patch available changed from No to Yes

Also available in: Atom