[Mono-devel-list] SimpleWorkerRequest patch for PATH_INFO

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Jun 12 07:31:10 EDT 2003


El jue, 12-06-2003 a las 08:18, eric lindvall escribió:
> Here's a little patch that cleans up SimpleWorkerRequest a little bit
> (trying to match the MS implementation a little more) and adding PATH_INFO
> parsing.

It makes xsp server throw this exception when i try to get
http://127.0.0.1:8080/ :

Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in [0x00039] (at
/home/gpanjav/go-mono/xsp/server/MonoWorkerRequest.cs:209) 00
Mono.ASPNET.MonoWorkerRequest:MapPath (string)
in [0x00013] (at
/home/gpanjav/go-mono/xsp/server/MonoWorkerRequest.cs:142) 00
Mono.ASPNET.MonoWorkerRequest:GetFilePathTranslated ()
in <0x00035> 00 System.Web.Hosting.SimpleWorkerRequest:ParsePathInfo ()
in <0x001c2> 00 System.Web.Hosting.SimpleWorkerRequest:.ctor
(string,string,System.IO.TextWriter)
in [0x0000c] (at
/home/gpanjav/go-mono/xsp/server/MonoWorkerRequest.cs:107) 00
Mono.ASPNET.MonoWorkerRequest:.ctor (Mono.ASPNET.IApplicationHost)
in [0x00002] (at
/home/gpanjav/go-mono/xsp/server/XSPWorkerRequest.cs:95) 00
Mono.ASPNET.XSPWorkerRequest:.ctor
(System.Net.Sockets.Socket,Mono.ASPNET.IApplicationHost)
in [0x0000c] (at
/home/gpanjav/go-mono/xsp/server/XSPApplicationHost.cs:34) 00
Mono.ASPNET.Worker:Run (object)

-Gonzalo





More information about the Mono-devel-list mailing list