[Mono-bugs] [Bug 65469][Nor] New - mod_mono does not handle IMS requests correctly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Sep 2004 13:06:36 -0400 (EDT)

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 bugzilla-ximian.20.abienvenu@spamgourmet.com.


--- shadow/65469	2004-09-07 13:06:36.000000000 -0400
+++ shadow/65469.tmp.2072	2004-09-07 13:06:36.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 65469
+Product: Mono: Class Libraries
+Version: unspecified
+OS Details: Mandrake 10.0
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bugzilla-ximian.20.abienvenu@spamgourmet.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mod_mono does not handle IMS requests correctly
+Description of Problem:
+When a browser makes an IMS HTTP request to mod_mono, and if the file is
+fresh, mod_mono will close the connection. It should send "HTTP/1.0 304 Not
+Modified" before closing.
+This bug does not appear if connecting directly to XSP, it only appears
+when connecting through mod_mono. This will make Mozilla behave strangly
+regarding CSS stylesheets and images : sometimes the stylesheet is missing
+(IMS returned nothing), sometimes the stylesheet is back (a non-IMS request
+has been issued after a reload). You should be able to observe the problem
+at http://localhost/demo/index.aspx or any mod_mono site containing
+stylesheets and/or images, pressing the reload button with Firefox 0.9.3.
+Steps to reproduce the problem:
+1. Install and configure mod_mono in Apache 1.3.29
+2. > telnet localhost 80
+Connected to localhost (
+Escape character is '^]'.
+GET /demo/mono.png HTTP/1.0
+If-Modified-Since: Tue, 01 Jan 2008 00:00:00 GMT
+Connection: close
+Actual Results:
+Connection closed by foreign host.
+Expected Results:
+HTTP/1.0 304 Not Modified
+Server: Mono-XSP Server/ Unix
+X-Powered-By: Mono
+Date: Tue, 7 Sep 2004 16:35:45 GMT
+Connection: close
+Connection closed by foreign host.
+How often does this happen? 
+Additional Information:
+- mono-1.0.1
+- xsp-1.0.1
+- mod_mono-1.0.1
+Compiled under Mandrake 10.0
+I tried with the CVS version of mod_mono, the behaviour is the same.
+Arnaud Bienvenu
+Makina Corpus