>Number:         2076
>Category:       mod_include
>Synopsis:       mod_include timeouts are messed up
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Apr 18 00:40:00 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        all through 1.3
>Environment:
n/a
>Description:
mod_include does a hard_timeout(), and then proceeds to invoke other
modules via sub_req_lookup_{uri,file}, and actually invoke other
handlers via run_sub_request().  This is all somewhat bogus -- because
modules frequently can't prepare themselves for timeouts occuring at
arbitrary points in the code.  The timeouts should be disabled during
the nesting.

Ok that doesn't sound serious enough does it?  Well what if I mention
that because timeouts *DON'T NEST* the mod_include timeout disappears
after the first nested include of almost any other module... i.e. it
disappears when the first ap_kill_timeout() happens.  Just try it, 
nested include something small followed by a lot of crap and disconnect
the ethernet from the client while the crap is being transmitted.  There's
no outstanding timeout.
>How-To-Repeat:

>Fix:
yeah, disable timeouts before subrequests and re-enable them afterward
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to