]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Adjust signal handler before unblocking
authorRuediger Pluem <rpluem@apache.org>
Fri, 9 Oct 2020 19:32:27 +0000 (19:32 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 9 Oct 2020 19:32:27 +0000 (19:32 +0000)
commit39c55b426afe4aa9ebf70647822cc4a07dd8277a
tree192d9e4ca590277b4806a06d51fae9302c04dd30
parentb6d3f4275660af33aaca7975894c61bc4363b886
Adjust signal handler before unblocking

* server/mpm/event/event.c: Set the new signal handler before unblocking the
  signal as otherwise queued signals get delivered to the old handler
  immediately when the signal is unblocked.

* server/mpm/worker/worker.c: Same thing as with event.

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