diff options
Diffstat (limited to 'mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs')
-rw-r--r-- | mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs b/mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs index 88c1405f8ea..b2b7f77ed2d 100644 --- a/mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs +++ b/mcs/class/System.Web/System.Web.Configuration/HttpRuntimeConfig.cs @@ -55,7 +55,8 @@ namespace System.Web.Configuration public int IdleTimeout = 20; // minutes public bool Enable = true; public string VersionHeader; - + public bool EnableHeaderChecking = true; + /* Only the config. handler should create instances of this. Use GetInstance (context) */ public HttpRuntimeConfig (object p) { @@ -92,6 +93,7 @@ namespace System.Web.Configuration RequireRootSaveAsPath = parent.RequireRootSaveAsPath; IdleTimeout = parent.IdleTimeout; Enable = parent.Enable; + EnableHeaderChecking = parent.EnableHeaderChecking; } } } |