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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to