bug 663096 - websockets enable deflate stream extension by pref r=biesi
authorPatrick McManus <mcmanus@ducksong.com>
Fri, 10 Jun 2011 16:52:27 -0400
changeset 71418 776b0b91568ed6b259adec9a51733e3607a48642
parent 71398 28217403cd022d48ad50df409a8adde2c1b35b76
child 71419 30653af91633061c0179398f726606298d623e65
push id159
push usereakhgari@mozilla.com
push dateTue, 16 Aug 2011 17:53:11 +0000
treeherdermozilla-beta@8786e3e49240 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbiesi
bugs663096
milestone7.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 663096 - websockets enable deflate stream extension by pref r=biesi
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -789,17 +789,17 @@ pref("network.websocket.timeout.ping.req
 
 // the deadline, expressed in seconds, for some read activity to occur after
 // generating a ping. If no activity happens then an error and unclean close
 // event is sent to the javascript websockets application
 pref("network.websocket.timeout.ping.response", 10);
 
 // Defines whether or not to try and negotiate the stream-deflate compression
 // extension with the websocket server
-pref("network.websocket.extensions.stream-deflate", false);
+pref("network.websocket.extensions.stream-deflate", true);
 
 // </ws>
 
 // Server-Sent Events
 
 pref("dom.server-events.enabled", true);
 // Equal to the DEFAULT_RECONNECTION_TIME_VALUE value in nsEventSource.cpp
 pref("dom.server-events.default-reconnection-time", 5000); // in milliseconds