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 26126] New: - mod_include hangs with request body
Date Wed, 14 Jan 2004 15:35:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26126

mod_include hangs with request body

           Summary: mod_include hangs with request body
           Product: Apache httpd-1.3
           Version: 1.3.29
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: heinrich.mislik@univie.ac.at


When a server-parsed file contains at least two "#include virtual" and this File
is requested with a request body, the request hangs. The reason is, that 
ap_discard_request_body called from the default-handler changes r->read_length
and r->remaining of the sub-request, but the next sub-request inherits the
original values of these variables.

Note that this also happens when some handler returns SERVER_ERROR on a POST
request with request body and an ErrorDocument 500 with #includes has been
defined. This does not happen on some 4xx errors, because ap_die calls
ap_discard_request_body on the main request.

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


Mime
View raw message