2 writes to m_Entry
System (2)
net\System\Net\Cache\IERequestCache.cs (2)
817
m_Entry
= entry;
1026
m_Entry
= null;
34 references to m_Entry
System (34)
net\System\Net\Cache\IERequestCache.cs (34)
848
lock (
m_Entry
)
877
lock (
m_Entry
)
904
lock (
m_Entry
)
943
if (Interlocked.Exchange(ref m_Disposed, 1) == 0 &&
m_Entry
!= null) {
945
lock (
m_Entry
)
961
lock (
m_Entry
)
1009
File.Delete(
m_Entry
.Filename);
1016
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()",
m_Entry
.Filename));
1020
_WinInetCache.Status errorStatus = _WinInetCache.Remove(
m_Entry
);
1023
if(Logging.On)Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_delete_failed, "WinInetWriteStream.Close()",
m_Entry
.Key, new Win32Exception((int)
m_Entry
.Error).Message));
1031
m_Entry
.OriginalUrl = null;
1044
if (
m_Entry
.MetaInfo == null ||
m_Entry
.MetaInfo.Length == 0 ||
1045
(
m_Entry
.MetaInfo != "\r\n" &&
m_Entry
.MetaInfo.IndexOf("\r\n\r\n", StringComparison.Ordinal) == -1))
1047
m_Entry
.MetaInfo = "\r\n"+ WinInetCache.c_SPARSE_ENTRY_HACK+"\r\n";
1051
m_Entry
.MetaInfo += WinInetCache.c_SPARSE_ENTRY_HACK+"\r\n";
1055
if (_WinInetCache.Commit(
m_Entry
) != _WinInetCache.Status.Success)
1057
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_commit_failed, "WinInetWriteStream.Close()",
m_Entry
.Key, new Win32Exception((int)
m_Entry
.Error).Message));
1061
File.Delete(
m_Entry
.Filename);
1068
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_error_deleting_filename, "WinInetWriteStream.Close()",
m_Entry
.Filename));
1073
Win32Exception win32Exception = new Win32Exception((int)
m_Entry
.Error);
1082
Logging.PrintWarning(Logging.RequestCache, SR.GetString(SR.net_log_cache_committed_as_partial, "WinInetWriteStream.Close()",
m_Entry
.Key, (m_StreamSize > 0 ? m_StreamSize.ToString(CultureInfo.CurrentCulture) : SR.GetString(SR.net_log_unknown))));
1083
Logging.PrintInfo(Logging.RequestCache, "WinInetWriteStream.Close(), Key = " +
m_Entry
.Key + ", Commit Status = " +
m_Entry
.Error.ToString());
1087
if ((
m_Entry
.Info.EntryType & _WinInetCache.EntryType.StickyEntry) == _WinInetCache.EntryType.StickyEntry)
1089
if (_WinInetCache.Update(
m_Entry
, _WinInetCache.Entry_FC.ExemptDelta) != _WinInetCache.Status.Success)
1091
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_update_failed, "WinInetWriteStream.Close(), Key = " +
m_Entry
.Key, new Win32Exception((int)
m_Entry
.Error).Message));
1094
Win32Exception win32Exception = new Win32Exception((int)
m_Entry
.Error);
1099
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_max_stale_and_update_status, "WinInetWriteFile.Close()",
m_Entry
.Info.U.ExemptDelta,
m_Entry
.Error.ToString()));