[Mono-bugs] [Bug 71587][Maj] Changed - Cannot access HttpWorkerRequest from HttpModule

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 21 Jan 2005 21:44:59 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by wweems@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71587

--- shadow/71587	2005-01-21 21:34:46.000000000 -0500
+++ shadow/71587.tmp.12076	2005-01-21 21:44:59.000000000 -0500
@@ -161,6 +161,43 @@
 maxRequestLength property inside that file are in the publicly 
 defined interface of .NET. The HttpContext.GetConfig method, while 
 not strongly typed, has an implied contract of returning an object 
 with properties corresponding to the attributes of the specified key 
 in the web.config file. This is the publicly defined interface with 
 which to interface to the web.config file.
+
+------- Additional Comments From wweems@gmail.com  2005-01-21 21:44 -------
+Upon commenting out the "offending code" to check the content length 
+or thwatever I get ehse exceptions when it posts back.
+
+System.Exception: Error reading headers.
+
+Server stack trace:
+in <0x001d7> Mono.ASPNET.XSPWorkerRequest:GetRequestHeaders ()
+in <0x000d1> Mono.ASPNET.XSPWorkerRequest:.ctor 
+(int,Mono.ASPNET.XSPRequestBroker,Mono.ASPNET.IApplicationHost,System.
+Net.EndPoint,System.Net.EndPoint,string,string,string,string,string,by
+te[])
+in <0x00165> Mono.ASPNET.XSPApplicationHost:ProcessRequest 
+(int,long,int,long,int,string,string,string,string,string,byte
+[],string)
+in (unmanaged) (wrapper managed-to-native) 
+System.Runtime.Remoting.RemotingServices:InternalExecute 
+(System.Reflection.MonoMethod,object,object[],object[]&)
+in <0x00004> (wrapper managed-to-native) 
+System.Runtime.Remoting.RemotingServices:InternalExecute 
+(System.Reflection.MonoMethod,object,object[],object[]&)
+in <0x00171> 
+System.Runtime.Remoting.RemotingServices:InternalExecuteMessage 
+(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCa
+llMessage)
+
+
+Exception rethrown at [0]:
+ ---> System.Exception: Exception of type System.Exception was thrown.
+in <0x000e7> Mono.ASPNET.XSPWorkerRequest:GetRequestHeaders ()
+--- End of inner exception stack trace ---
+
+in <0x00601> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
+(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Mes
+saging.IMessage,System.Exception&,object[]&)
+