Project

General

Profile

Actions

Feature #1773

closed

mod_compress disabling methods

Added by glen over 15 years ago. Updated about 15 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

Actions #1

Updated by glen over 15 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" )
Actions #3

Updated by glen over 15 years ago

The syntax is now:


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

Updated by glen over 15 years ago

submitted in r2325 for lighttpd-1.4.x

Actions #5

Updated by stbuehler over 15 years ago

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

Updated by glen over 15 years ago

also added in r2331 for lighttpd-1.5

Actions #7

Updated by Olaf-van-der-Spek over 15 years ago

Just wondering, why would you disable encodings?

Actions #8

Updated by glen over 15 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

Actions #9

Updated by glen over 15 years ago

  • % Done changed from 0 to 100
Actions #10

Updated by glen about 15 years ago

  • Patch available changed from No to Yes
Actions

Also available in: Atom