Bug 1296280 (part 3) - Set HPACK receive buffer size appropriately for the platform r?mcmanus draft
authorNicholas Hurley <hurley@todesschaf.org>
Tue, 06 Sep 2016 12:48:41 -0700
changeset 416122 a07353273493696c596610d26320fa9b9ad31c36
parent 416121 238521d95e5fdbae495e1af5aa3bfa881e69b809
child 531755 bef14fd98b015c8a38086c4553be2c033695e171
push id30030
push userbmo:hurley@todesschaf.org
push dateWed, 21 Sep 2016 13:34:37 +0000
reviewersmcmanus
bugs1296280
milestone51.0a1
Bug 1296280 (part 3) - Set HPACK receive buffer size appropriately for the platform r?mcmanus MozReview-Commit-ID: DfckEZfEd10
b2g/app/b2g.js
mobile/android/app/mobile.js
modules/libpref/init/all.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -85,16 +85,17 @@ pref("network.http.max-persistent-connec
 pref("network.http.max-persistent-connections-per-proxy", 20);
 
 // Keep the old default of accepting all cookies,
 // no matter if you already visited the website or not
 pref("network.cookie.cookieBehavior", 0);
 
 // spdy
 pref("network.http.spdy.push-allowance", 32768);
+pref("network.http.spdy.default-hpack-buffer", 4096); // 4k
 
 // See bug 545869 for details on why these are set the way they are
 pref("network.buffer.cache.count", 24);
 pref("network.buffer.cache.size",  16384);
 
 // predictive actions
 pref("network.predictor.enabled", false); // disabled on b2g
 pref("network.predictor.max-db-size", 2097152); // bytes
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -105,16 +105,17 @@ pref("network.http.proxy.pipelining", tr
 pref("network.http.pipelining.maxrequests" , 6);
 pref("network.http.keep-alive.timeout", 109);
 pref("network.http.max-connections", 20);
 pref("network.http.max-persistent-connections-per-server", 6);
 pref("network.http.max-persistent-connections-per-proxy", 20);
 
 // spdy
 pref("network.http.spdy.push-allowance", 32768);
+pref("network.http.spdy.default-hpack-buffer", 4096); // 4k
 
 // See bug 545869 for details on why these are set the way they are
 pref("network.buffer.cache.count", 24);
 pref("network.buffer.cache.size",  16384);
 
 // predictive actions
 pref("network.predictor.enabled", true);
 pref("network.predictor.max-db-size", 2097152); // bytes
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1527,16 +1527,17 @@ pref("network.http.spdy.coalesce-hostnam
 pref("network.http.spdy.persistent-settings", false);
 pref("network.http.spdy.ping-threshold", 58);
 pref("network.http.spdy.ping-timeout", 8);
 pref("network.http.spdy.send-buffer-size", 131072);
 pref("network.http.spdy.allow-push", true);
 pref("network.http.spdy.push-allowance", 131072);   // 128KB
 pref("network.http.spdy.pull-allowance", 12582912); // 12MB
 pref("network.http.spdy.default-concurrent", 100);
+pref("network.http.spdy.default-hpack-buffer", 65536); // 64k
 
 // alt-svc allows separation of transport routing from
 // the origin host without using a proxy.
 pref("network.http.altsvc.enabled", true);
 pref("network.http.altsvc.oe", true);
 
 pref("network.http.diagnostics", false);