[Mono-bugs] [Bug 76124][Nor] New - HttpRuntime.ProcessRequest(childWorkerRequest) causes 500 status code under mod_mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 16 14:03:36 EDT 2005


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 dean at brettle.com.

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

--- shadow/76124	2005-09-16 14:03:36.000000000 -0400
+++ shadow/76124.tmp.26045	2005-09-16 14:03:36.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 76124
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: dean at brettle.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: HttpRuntime.ProcessRequest(childWorkerRequest) causes 500 status code under mod_mono
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When processing child requests with
+HttpRuntime.ProcessRequest(childWorkerRequest) under mod_mono, the server
+returns a 500 status code, even though the correct content is returned. 
+This is caused by an attempt to set headers when ending the parent request.
+   I'll attach a test handler which demonstrates the problem, and I'll also
+attach a patch.
+
+Steps to reproduce the problem:
+1. Copy the attached childrequest.ashx to a location where it can be
+accessed through mod_mono.
+2. Run "curl -i http://host/path/to/childrequest.ashx" or some other
+command that shows the status line returned by the server.
+
+Actual Results:
+HTTP/1.1 500 Internal Server Error
+Date: Fri, 16 Sep 2005 16:59:09 GMT
+Server: Apache/2.0.52 (Fedora)
+Content-Length: 45
+Cache-Control: private
+Connection: close
+Content-Type: text/html; charset=utf-8
+
+<html><body><h1>Hi there!</h1></body></html>
+
+
+Expected Results:
+
+HTTP/1.1 200 OK
+Date: Fri, 16 Sep 2005 16:59:24 GMT
+Server: Apache/2.0.52 (Fedora)
+Content-Length: 45
+Cache-Control: private
+Connection: close
+Content-Type: text/html; charset=utf-8
+
+<html><body><h1>Hi there!</h1></body></html>
+
+How often does this happen? Everytime
+
+
+Additional Information:
+
+The test case is a bit contrived -- it issues a child request to itself. 
+However, I encountered this issue in NeatUpload
+(http://www.brettle.com/neatupload) where I use an HttpModule to issue a
+child request that filters/monitors uploads.  The problem occurred after
+upgrading from xsp-1.0.9 to xsp-1.1.9.


More information about the mono-bugs mailing list