]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_reqtimeout: Prevent long response times from triggering a timeout once
authorYann Ylavic <ylavic@apache.org>
Wed, 9 Mar 2016 13:43:53 +0000 (13:43 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 9 Mar 2016 13:43:53 +0000 (13:43 +0000)
commitdb638b6bc3f073ca6533de5d9a762fff5bfcc6dc
tree3101d5d64026bd7e641969ced443f675d88501e8
parent096bc816ac439c86c3360a98af95a2b74647ef7b
mod_reqtimeout: Prevent long response times from triggering a timeout once
the request has been fully read.  PR 59045.

Adds an output filter which detects EOR buckets and resets the timeout so
that the input filter does nothing (until the next request is read).

This makes the bypass of nonblocking+speculative in reqtimeout_filter()
useless, and by removing it we can detect potential timeout for speculative
reads outside check_pipeline() earlier (the code to not extend the timeout
for speculative reads is still there to prevent those from biasing until the
real/relevant data).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1734239 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/filters/mod_reqtimeout.c