]> granicus.if.org Git - apache/commitdiff
AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
authorJeff Trawick <trawick@apache.org>
Fri, 14 Jun 2002 16:38:07 +0000 (16:38 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 14 Jun 2002 16:38:07 +0000 (16:38 +0000)
These levels of AIX don't have a thundering herd problem with
accept().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95673 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 32c3c828822946f71d9ec4da7639380a84d0150e..40399b1290ca4d1d5f670309b373274e01bc1557 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,9 @@
 Changes with Apache 2.0.38
 
+  *) AIX 4.3.3 and above: Define SINGLE_LISTEN_UNSERIALIZED_ACCEPT.
+     These levels of AIX don't have a thundering herd problem with
+     accept().  [Jeff Trawick]
+
   *) prefork MPM: Ignore mutex errors during graceful restart.  For
      certain types of mutexes (particularly SysV semaphores), we
      should expect to occasionally fail to obtain or release the
index 306bf587a5da5bb3dfd275498e2f0edcba157907..f2d66df25fbcdc0d2d06a1983eb136cf1e65015a 100644 (file)
@@ -208,6 +208,12 @@ case $host in
       APR_SETVAR(APACHE_MPM, [prefork])
       APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
       ;;
+  *aix*)
+      aixver=`echo $host | sed 's/^[[^0-9]]*//' | sed 's/\.//g'`
+      if test $aixver -ge 4330; then
+        APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
+      fi
+      ;;
 esac
 
 dnl