* HttpCachePolicy.cs: it's not public. * HttpRuntime.cs: wait for requests before disposing the queue. svn path=/trunk/mcs/; revision=22420
@@ -1,3 +1,8 @@
+2004-01-23 Gonzalo Paniagua Javier <[email protected]>
+
+ * HttpCachePolicy.cs: it's not public.
+ * HttpRuntime.cs: wait for requests before disposing the queue.
2004-01-15 Jackson Harper <[email protected]>
* HttpCachePolicy.cs: Fix typo causing varyby params headers to be
@@ -14,7 +14,7 @@ using System.Web.Util;
namespace System.Web {
- public class CacheabilityUpdatedEventArgs : EventArgs {
+ class CacheabilityUpdatedEventArgs : EventArgs {
public readonly HttpCacheability Cacheability;
@@ -226,9 +226,9 @@ namespace System.Web {
[MonoTODO ("Move timeout value to config")]
internal void Dispose() {
+ WaitForRequests(5000);
queueManager.Dispose (); // Send a 503 to all queued requests
queueManager = null;
- WaitForRequests(5000);
_cache = null;
HttpApplicationFactory.EndApplication();