]> granicus.if.org Git - apache/commit
leaving the pipe-of-death in the ap_listeners list led to segfaults
authorJeff Trawick <trawick@apache.org>
Tue, 18 Dec 2001 21:33:27 +0000 (21:33 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 18 Dec 2001 21:33:27 +0000 (21:33 +0000)
commit86b38b9d76f2fcc41ebe06b2120165852ba99cad
tree1932be666c8209545f4f30756ed447501e1b1383
parent46668bea86feede5d7ac2c06b4ceac11af0ce995
leaving the pipe-of-death in the ap_listeners list led to segfaults
during sighup processing since the pipe-of-death listen_rec was
allocated from a short-lived pool

simply allocating the pipe-of-death listen_rec from the right pool
isn't a complete fix since at that point we no longer get the
proper cleanup and we're left with a file descriptor leak

the simplest overall fix seems to be to keep the pipe-of-death out
of the ap_listeners list for now

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