Project

General

Profile

Feature #1773

mod_compress disabling methods

Added by glen about 8 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_compress
Target version:
Start date:
Due date:
% Done:

100%

Missing in 1.5.x:

Description

mod_compress doesn't allow you to disable bzip2 method

Associated revisions

Revision c6c2bf83 (diff)
Added by glen almost 8 years ago

- Add possibility to disable methods in mod_compress (#1773)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2325 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by glen about 8 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 8 years ago

The syntax is now:


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

#4 Updated by glen almost 8 years ago

submitted in r2325 for lighttpd-1.4.x

#5 Updated by stbuehler almost 8 years ago

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

#6 Updated by glen almost 8 years ago

also added in r2331 for lighttpd-1.5

#7 Updated by Olaf-van-der-Spek almost 8 years ago

Just wondering, why would you disable encodings?

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

  • % Done changed from 0 to 100

#10 Updated by glen over 7 years ago

  • Patch available changed from No to Yes

Also available in: Atom