summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES5
-rw-r--r--configure.in11
2 files changed, 15 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 1a90943431..195fe4c11d 100644
--- 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).
diff --git a/configure.in b/configure.in
index 038d45c301..a8e74c72f0 100644
--- a/configure.in
+++ b/configure.in
@@ -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])