summaryrefslogtreecommitdiffstats
path: root/modules/libpref
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-01 07:55:40 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-01 07:55:40 +0200
commitb450f90cd7b24a0a965f65068d8f7196805ee35f (patch)
tree06418b333b2c7d3d625a3c5f2c843717d8aef667 /modules/libpref
parenta92253e8d3d41484137115281d24a90ecd51c1be (diff)
downloadUXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.gz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.lz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.tar.xz
UXP-b450f90cd7b24a0a965f65068d8f7196805ee35f.zip
Tune the network stack
This resolves #684
Diffstat (limited to 'modules/libpref')
-rw-r--r--modules/libpref/init/all.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 73f7e76d7..83a46f54a 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1435,11 +1435,7 @@ pref("network.http.response.timeout", 300);
// Limit the absolute number of http connections.
// Note: the socket transport service will clamp the number below this if the OS
// cannot allocate that many FDs
-#ifdef ANDROID
pref("network.http.max-connections", 256);
-#else
-pref("network.http.max-connections", 900);
-#endif
// If NOT connecting via a proxy, then
// a new connection will only be attempted if the number of active persistent
@@ -1487,13 +1483,13 @@ pref("network.http.redirection-limit", 20);
pref("network.http.accept-encoding", "gzip, deflate");
pref("network.http.accept-encoding.secure", "gzip, deflate, br");
-pref("network.http.pipelining" , false);
+pref("network.http.pipelining" , true);
pref("network.http.pipelining.ssl" , false); // disable pipelining over SSL
pref("network.http.pipelining.abtest", false);
pref("network.http.proxy.pipelining", false);
// Max number of requests in the pipeline
-pref("network.http.pipelining.maxrequests" , 32);
+pref("network.http.pipelining.maxrequests" , 16);
// An optimistic request is one pipelined when policy might allow a new
// connection instead