diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-12 12:41:26 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-13 18:14:40 +0000 |
commit | 65bbd1acb6a80f94a84404303b87c2798330a11c (patch) | |
tree | 7ae23be108e89a76fd0d319cc77d5eeeb3be607a /modules/libpref/init | |
parent | 3edea8e9e0760e171ed0a15bdfd743ce87f196c3 (diff) | |
download | UXP-65bbd1acb6a80f94a84404303b87c2798330a11c.tar UXP-65bbd1acb6a80f94a84404303b87c2798330a11c.tar.gz UXP-65bbd1acb6a80f94a84404303b87c2798330a11c.tar.lz UXP-65bbd1acb6a80f94a84404303b87c2798330a11c.tar.xz UXP-65bbd1acb6a80f94a84404303b87c2798330a11c.zip |
Issue #1695 - Add clamping to websocket polling timeouts.
Diffstat (limited to 'modules/libpref/init')
-rw-r--r-- | modules/libpref/init/all.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 314beac37..1e60c97c5 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1663,6 +1663,11 @@ pref("network.websocket.timeout.open", 20); // close message pref("network.websocket.timeout.close", 20); +// Setting this to true will clamp the websocket timeout value to a minimum +// regardless if there are pending events on the thread. +// This is a workaround for runaway polling, see issue #1695 +pref("network.websocket.timeout.clamped", false); + // the number of seconds of idle read activity to sustain before sending a // ping probe. 0 to disable. pref("network.websocket.timeout.ping.request", 0); |