]> 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)
commit2f4e4bc5c67bb253285b53d77d2f4621e4ef707d
treebd6f922f95eeb2f3311cd4fead2e18db8e80377a
parentdc96ceb6c49c27a0bcf3b7e9cef8167204f715d9
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