diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-16 06:40:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-16 06:42:42 +0000 |
commit | 408477a87aefbe3a972dfd66fcf907a09c4e7ac6 (patch) | |
tree | ae72f280e457cdf433040c05d8c575ac0453d96a /netwerk/base/nsSocketTransportService2.h | |
parent | da0c073a740216af674baff0be5dc0ba761e68db (diff) | |
download | uxp-408477a87aefbe3a972dfd66fcf907a09c4e7ac6.tar.gz |
Revert "Issue #1695 - Add clamping to websocket polling timeouts."
As of [da0c073a7] we no longer need this workaround because the issue is avoided
with proper sleep/wake logic restored.
This reverts commit 2fa993b5639e04c7e1d7403ecf9175a223ce50b4.
Diffstat (limited to 'netwerk/base/nsSocketTransportService2.h')
-rw-r--r-- | netwerk/base/nsSocketTransportService2.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/netwerk/base/nsSocketTransportService2.h b/netwerk/base/nsSocketTransportService2.h index c0f9b0075a..484dbe098e 100644 --- a/netwerk/base/nsSocketTransportService2.h +++ b/netwerk/base/nsSocketTransportService2.h @@ -116,9 +116,6 @@ public: // Returns true if keepalives are enabled in prefs. bool IsKeepaliveEnabled() { return mKeepaliveEnabledPref; } - - // Returns true if socket timeout clamping is enabled in prefs. - bool IsSocketTimeoutClamped() { return mClampSocketTimeout; } PRIntervalTime MaxTimeForPrClosePref() {return mMaxTimeForPrClosePref; } protected: @@ -256,8 +253,6 @@ private: int32_t mKeepaliveProbeCount; // True if TCP keepalive is enabled globally. bool mKeepaliveEnabledPref; - // True if socket polling should be clamped. - bool mClampSocketTimeout; Atomic<bool> mServingPendingQueue; Atomic<int32_t, Relaxed> mMaxTimePerPollIter; |