diff options
Diffstat (limited to 'mcs/class/referencesource/System.Web/HttpRuntime.cs')
-rw-r--r-- | mcs/class/referencesource/System.Web/HttpRuntime.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mcs/class/referencesource/System.Web/HttpRuntime.cs b/mcs/class/referencesource/System.Web/HttpRuntime.cs index 03161561576..23b97ec0eef 100644 --- a/mcs/class/referencesource/System.Web/HttpRuntime.cs +++ b/mcs/class/referencesource/System.Web/HttpRuntime.cs @@ -402,11 +402,11 @@ namespace System.Web { // Monitor renames to directories we are watching, and notifications on the bin directory // // Note that this must be the first monitoring that we do of the application directory. - // There is a - - - - + // There is a bug in Windows 2000 Server where notifications on UNC shares do not + // happen correctly if: + // 1. the directory is monitored for regular notifications + // 2. the directory is then monitored for directory renames + // 3. the directory is monitored again for regular notifications StartMonitoringDirectoryRenamesAndBinDirectory(); // Initialize ObjectCacheHost before config is read, since config relies on the cache @@ -1744,7 +1744,7 @@ namespace System.Web { } /* - * Finish processing request, sync or async + * Finish processing request, [....] or async */ private void FinishRequest(HttpWorkerRequest wr, HttpContext context, Exception e) { HttpResponse response = context.Response; @@ -1899,7 +1899,7 @@ namespace System.Web { catch (Exception e) { Debug.Trace("AppDomainFactory", "AppDomain.Unload exception: " + e + "; Id=" + _appDomainAppId); if (!BuildManagerHost.InClientBuildManager) { - // Avoid calling Exception.ToString if we are in the ClientBuildManager (Dev10 + // Avoid calling Exception.ToString if we are in the ClientBuildManager (Dev10 bug 824659) AddAppDomainTraceMessage("Unload Exception: " + e); } throw; @@ -2270,7 +2270,7 @@ namespace System.Web { + ", ShutdownMessage=" + _theRuntime._shutDownMessage); if (String.IsNullOrEmpty(stackTrace) && !BuildManagerHost.InClientBuildManager) { - // Avoid calling Environment.StackTrace if we are in the ClientBuildManager (Dev10 + // Avoid calling Environment.StackTrace if we are in the ClientBuildManager (Dev10 bug 824659) // Instrument to be able to see what's causing a shutdown new EnvironmentPermission(PermissionState.Unrestricted).Assert(); |