svn path=/trunk/mcs/; revision=93487
+2008-01-22 Konstantin Triger <kostat@mainsoft.com>
+
+ * HttpResponse.cs: move headers_sent initialization up to prevent additional
+ trial to send headers if an exception is thrown.
+
2008-01-21 Konstantin Triger <kostat@mainsoft.com>
* HttpRequest.cs: Form validation: ensure the collection is accessible after
if (headers_sent)
return;
+ headers_sent = true;
+
if (cached_response != null)
cached_response.SetHeaders (headers);
header.SendContent (WorkerRequest);
}
}
- headers_sent = true;
}
internal void DoFilter (bool close)