httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37166] New: - Under certain conditions, mod_cgi delivers an empty 200 result
Date Wed, 19 Oct 2005 16:51:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37166>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37166

           Summary: Under certain conditions, mod_cgi delivers an empty 200
                    result
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wolf@dentaro.de


If
(1) the request contains an If-Modified-Since header,
(2) the called CGI-script produces a Last-Modified header,
(3) the times of these headers are the same,

mod_cgi tries to deliver an (of course) empty 304 result.

Unfortunately the CGI-scripts status (i.e.200) has already
been delivered to the user-agent, so the 304 status is
discarded by the apache kernel (but is written to the log).

The user agent receives a 200 status, but no content.

This error is easily reproduced with a trivial CGI-script
producing always the same "Last-Modified" header, and a
browser configured to "check always", be requesting the
script's url two times.

The problem has been reproduced with Apache2.x too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message