Verified Commit 11c40ea3 authored by Randell Jesup's avatar Randell Jesup Committed by ma1
Browse files

Bug 2036898: Fix nsSocketTransportService2::mKeepaliveEnabledPref data race...

Bug 2036898: Fix nsSocketTransportService2::mKeepaliveEnabledPref data race r=necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D298392
parent 1fa152c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ class nsSocketTransportService final : public nsPISocketTransportService,
  // Number of keepalive probes to send.
  int32_t mKeepaliveProbeCount{kDefaultTCPKeepCount};
  // True if TCP keepalive is enabled globally.
  bool mKeepaliveEnabledPref{false};
  Atomic<bool, Relaxed> mKeepaliveEnabledPref{false};
  // Timeout of pollable event signalling.
  TimeDuration mPollableEventTimeout MOZ_GUARDED_BY(mLock);