Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.Web/State/StateRuntime.cs')
-rw-r--r--mcs/class/referencesource/System.Web/State/StateRuntime.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/mcs/class/referencesource/System.Web/State/StateRuntime.cs b/mcs/class/referencesource/System.Web/State/StateRuntime.cs
index c354c95e0f6..de279f206dd 100644
--- a/mcs/class/referencesource/System.Web/State/StateRuntime.cs
+++ b/mcs/class/referencesource/System.Web/State/StateRuntime.cs
@@ -303,9 +303,9 @@ namespace System.Web.SessionState {
DateTime localLockDate;
long lockAge;
- // Note that due to a
-
-
+ // Note that due to a bug in the RTM state server client,
+ // we cannot add to body of the response when sending this
+ // message, otherwise the client will leak memory.
response = context.Response;
response.StatusCode = 423;
localLockDate = DateTimeUtil.ConvertToLocalTime(content._utcLockDate);
@@ -318,9 +318,9 @@ namespace System.Web.SessionState {
private void ReportActionFlags(HttpContext context, int flags) {
HttpResponse response;
- // Note that due to a
-
-
+ // Note that due to a bug in the RTM state server client,
+ // we cannot add to body of the response when sending this
+ // message, otherwise the client will leak memory.
response = context.Response;
response.AppendHeader(StateHeaders.ACTIONFLAGS_NAME_RAW, flags.ToString(CultureInfo.InvariantCulture));
}