1 write to m_SavedDigests
System (1)
net\System\Net\HttpListener.cs (1)
2558
Interlocked.CompareExchange<DigestContext[]>(ref
m_SavedDigests
, new DigestContext[MaximumDigests], null);
16 references to m_SavedDigests
System (16)
net\System\Net\HttpListener.cs (16)
2556
if (
m_SavedDigests
== null)
2564
lock (
m_SavedDigests
)
2577
int oldTimestamp =
m_SavedDigests
[m_NewestContext].timestamp;
2578
oldContext =
m_SavedDigests
[m_NewestContext].context;
2579
m_SavedDigests
[m_NewestContext].timestamp = now;
2580
m_SavedDigests
[m_NewestContext].context = digestContext;
2589
while (unchecked(now -
m_SavedDigests
[m_OldestContext].timestamp) >= DigestLifetimeSeconds &&
m_SavedDigests
[m_OldestContext].context != null)
2595
digestsToClose.Add(
m_SavedDigests
[m_OldestContext].context);
2596
m_SavedDigests
[m_OldestContext].context = null;
2632
if (
m_SavedDigests
== null)
2638
lock (
m_SavedDigests
)
2651
if (
m_SavedDigests
[i].context != null)
2653
toClose[2].Add(
m_SavedDigests
[i].context);
2654
m_SavedDigests
[i].context = null;
2656
m_SavedDigests
[i].timestamp = 0;