]> granicus.if.org Git - apache/commit
Convert the worker MPM's fdqueue from a LIFO back into a FIFO. Since
authorAaron Bannert <aaron@apache.org>
Fri, 26 Apr 2002 17:13:51 +0000 (17:13 +0000)
committerAaron Bannert <aaron@apache.org>
Fri, 26 Apr 2002 17:13:51 +0000 (17:13 +0000)
commit77adcc0737fa72d6c7a313976e31f287716ec85a
treebd6f922f95eeb2f3311cd4fead2e18db8e80377a
parent3b7f35cd829805076c4da05431641f8548f3c0d6
Convert the worker MPM's fdqueue from a LIFO back into a FIFO. Since
elements in the queue represent accept()ed connections, we want them
to be processed in the order that they were received.  (I erroneously
converted it to a LIFO quite awhile ago in the hopes that it would
improve cache efficiency.)

Remember to perform a make clean in the worker directory after this patch,
since this patch changes the size of the fd_queue_t object (which is
allocated in worker.c).

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