]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_reqtimeout: follow up to r1621453.
authorYann Ylavic <ylavic@apache.org>
Mon, 6 Jul 2015 07:13:57 +0000 (07:13 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 6 Jul 2015 07:13:57 +0000 (07:13 +0000)
commitb07149f7eaf48f30b53c18b9e72ff5ebe0da4e7e
tree2c8c75efbe8992739ac45b0e3a61e613c6d84c1e
parentde69fc5a7daa062e36019adc62e7a0e8c3bca35e
mod_reqtimeout: follow up to r1621453.
Don't let pipelining checks and keep-alive times interfere
with the timeouts computed for subsequent requests.  PR 56729.

With pipelined requests, the log_transaction hook is called when the request
is destroyed, which may happen after a subsequent request is to be handled on
the same connection.
Move the initialization of the "header" state into pre_read_request() instead,
and get rid of the racy log_trasaction hook.

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