]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mpm_fdqueue: return EOF for ap_queue_interrupt_*() when terminated.
authorYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 15:48:03 +0000 (15:48 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 22 Jul 2021 15:48:03 +0000 (15:48 +0000)
commitcb17448b566ce7b806ac65f3554d4ed4380ade69
tree3ebf2caeaa39fc2d384fd428099f42eabde54dc9
parent70d7c7b009c1bbdcd046c1620118f580b6886c5c
mpm_fdqueue: return EOF for ap_queue_interrupt_*() when terminated.

* server/mpm_fdqueue.c (queue_interrupt): noop and return APR_EOF when queue is
  terminated already.

* server/mpm_fdqueue.h (struct fd_queue_t): make "terminated" volatile.

Follow up to r1891716.
Github: closes #208

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