[Mono-devel-list] SimpleWorkerRequest and XSP

eric lindvall eric at 5stops.com
Wed Jun 25 23:07:22 EDT 2003


It seems that there isn't any functionality from the SimpleWorkerRequest
that is used in XSP, so i was wondering why you couldn't just inherit from
the HttpWorkerRequest?

I tried hitting the test directory after making these changes, and
everything still seemed to work.. including web_xml.aspx. =)

comments?

e.


-------------- next part --------------
Index: MonoWorkerRequest.cs
===================================================================
RCS file: /mono/xsp/server/MonoWorkerRequest.cs,v
retrieving revision 1.14
diff -u -p -u -r1.14 MonoWorkerRequest.cs
--- MonoWorkerRequest.cs	27 Mar 2003 00:30:51 -0000	1.14
+++ MonoWorkerRequest.cs	26 Jun 2003 03:03:06 -0000
@@ -93,7 +93,7 @@ namespace Mono.ASPNET
 
 	public delegate void MapPathEventHandler (object sender, MapPathEventArgs args);
 	
-	public abstract class MonoWorkerRequest : SimpleWorkerRequest
+	public abstract class MonoWorkerRequest : HttpWorkerRequest
 	{
 		IApplicationHost appHost;
 		ArrayList response;
@@ -102,7 +102,6 @@ namespace Mono.ASPNET
 		byte [] queryStringBytes;
 
 		public MonoWorkerRequest (IApplicationHost appHost)
-			: base (String.Empty, String.Empty, null)
 		{
 			if (appHost == null)
 				throw new ArgumentNullException ("appHost");
@@ -151,6 +150,10 @@ namespace Mono.ASPNET
 		{
 			return 0;
 		}
+
+                public override void EndOfRequest ()
+                {
+                }
 
 		public override string GetPathInfo ()
 		{


More information about the Mono-devel-list mailing list