]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_event: avoid possible timer off by 250 ms.
authorYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 16:10:02 +0000 (16:10 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 16:10:02 +0000 (16:10 +0000)
commit2a7de1e2a37464d166c1c8c5c41d7c4e49181c8c
treefdf0b479bc0595cc08e50fa158b9207b9388fd07
parent2515db492e98bca96b2510c1fb792ba47b65e1f0
mpm_event: avoid possible timer off by 250 ms.

* server/mpm/event/event.c (listener_thread): EVENT_FUDGE_FACTOR is used to
  limit wakeups but still expiring timers should be compared with the real
  apr_time_now().

Similar to r1874277 for TIMEOUT_FUDGE_FACTOR.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891727 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/event/event.c