Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Disable ResponseCompression by default

  • Loading branch information
wsanchez committed Nov 21, 2013
1 parent 9cb94fc commit 47ced3b7f35003633a92a8d9abf85106ea7754d6
Showing with 6 additions and 4 deletions.
  1. +3 −2 conf/caldavd-test.plist
  2. +1 −1 conf/resources/caldavd-resources.plist
  3. +2 −1 twistedcaldav/stdconfig.py
@@ -895,9 +895,10 @@
<key>EnableWebAdmin</key>
<true/>

<!-- Support for Content-Encoding compression options as specified in RFC2616 Section 3.5 -->
<!-- Support for Content-Encoding compression -->
<key>ResponseCompression</key>
<false/>
<false/> <!-- Off for testing, as debugging is easier that way. -->


<!-- The retry-after value (in seconds) to return with a 503 error. -->
<key>HTTPRetryAfter</key>
@@ -669,7 +669,7 @@
<key>EnableWebAdmin</key>
<true/>

<!-- Support for Content-Encoding compression options as specified in RFC2616 Section 3.5 -->
<!-- Support for Content-Encoding compression -->
<key>ResponseCompression</key>
<false/>

@@ -892,7 +892,8 @@

# Support for Content-Encoding compression options as specified in
# RFC2616 Section 3.5
"ResponseCompression": True,
# Defaults off, because it weakens TLS (CRIME attack).
"ResponseCompression": False,

# The retry-after value (in seconds) to return with a 503 error
"HTTPRetryAfter": 180,

0 comments on commit 47ced3b

Please sign in to comment.
You can’t perform that action at this time.