[Mono-bugs] [Bug 76947][Nor] New - HttpWorkerRequest.ReadEntityBody() returns 0 for chunked requests under mod_mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 8 14:42:22 EST 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=76947

--- shadow/76947	2005-12-08 14:42:22.000000000 -0500
+++ shadow/76947.tmp.15205	2005-12-08 14:42:22.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 76947
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: FC3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: dean at brettle.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: HttpWorkerRequest.ReadEntityBody() returns 0 for chunked requests under mod_mono
+
+Description of Problem:
+
+For requests that use "chunked" transfer encoding,
+mod_mono's HttpWorkerRequest.ReadEntityBody() always returns 0. 
+
+Also, GetKnownRequestHeader(HttpWorkerRequest.HeaderContentLength) returns
+"0".  It should return null because no Content-Length header is sent with 
+a chunked request.
+
+Steps to reproduce the problem:
+1. Create a simple HttpModule or IHttpHandler that logs the body available
+via HttpWorkerRequest.ReadEntityBody().
+2. Send a chunked request to the server.  For example, you could use
+something like:
+
+curl -X POST -H 'Transfer-Encoding: chunked' --data-binary @test.body
+http://tempuri.org/path.aspx
+
+3. Examine the logged entity body.
+
+Actual Results:
+
+The body is empty (ReadEntityBody() returns 0).
+
+Expected Results:
+
+The body has been decoded.
+
+How often does this happen? 
+
+Everytime.
+
+Additional Information:
+
+I'm using mod_mono-1.1.10-2 and xsp-1.1.10-1.


More information about the mono-bugs mailing list