]> granicus.if.org Git - apache/commitdiff
Solaris 8 doesn't have a thundering herd problem
authorIan Holsman <ianh@apache.org>
Sat, 16 Mar 2002 06:35:11 +0000 (06:35 +0000)
committerIan Holsman <ianh@apache.org>
Sat, 16 Mar 2002 06:35:11 +0000 (06:35 +0000)
according to the sun experts

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

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 1a90943431313660d1f7d0e42346c63d06f5eb8b..195fe4c11d0cba9809d6c87978ffe3cb73cdb59e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,10 @@
 Changes with Apache 2.0.34-dev
 
+  *) Change configure so that Solaris 8 and above have 
+     SINGLE_LISTEN_UNSERIALIZED_ACCEPT defined by default.
+     according to sun people solaris 8+ doesn't have a thundering
+     herd problem [Ian Holsman]
+
   *) Allow URIs specifying CGI scripts to include '/' at the end
      (e.g., /cgi-bin/printenv/) on AIX and Solaris (and other OSs
      which ignore '/' at the end of the names of non-directories).
index 038d45c301fa68245ae64b96e37baced90f01015..a8e74c72f08915ec2e2bcef18f2af2845e4a6072 100644 (file)
@@ -170,8 +170,17 @@ case $host in
       APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
       ;;
   *-solaris2*)
-      dnl  This is a hack -- we should be using AC_TRY_RUN instead
+      dnl This is a hack -- we should be using AC_TRY_RUN instead
       ap_platform_runtime_link_flag="-R"
+      dnl solaris 8 and above don't have a thundering herd
+      dnl not sure about rev's before this one.
+      case `uname -r` in
+        5.[567]*)
+            ;;
+        * )
+            APR_SETVAR(SINGLE_LISTEN_UNSERIALIZED_ACCEPT, [1])
+            ;;
+      esac
       ;;
   *cygwin*)
       APR_SETVAR(APACHE_MPM, [prefork])