[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] httpd 2.3.16-beta compatibility

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Fri, 13 Jan 2012 18:55:39 +0200

And another patch:

[[[
Index: subversion/tests/cmdline/davautocheck.sh
===================================================================
--- subversion/tests/cmdline/davautocheck.sh (revision 1231107)
+++ subversion/tests/cmdline/davautocheck.sh (working copy)
@@ -292,9 +292,22 @@
 $LOAD_MOD_AUTHZ_HOST
 LoadModule authz_svn_module "$MOD_AUTHZ_SVN"
 
+__EOF__
+
+if "$HTTPD" -v | grep '/2\.[012]' >/dev/null; then
+ cat >> "$HTTPD_CFG" <<__EOF__
 LockFile lock
 User $(id -un)
 Group $(id -gn)
+__EOF__
+else
+ cat >> "$HTTPD_CFG" <<__EOF__
+# TODO: maybe uncomment this for prefork,worker MPMs only?
+# Mutex file:lock mpm-accept
+__EOF__
+fi
+
+cat >> "$HTTPD_CFG" <<__EOF__
 Listen $HTTPD_PORT
 ServerName localhost
 PidFile "$HTTPD_PID"
]]]

For me, it works but yields
    AH00511: WARNING: MaxRequestWorkers of 16 is less than ThreadsPerChild of
    25, increasing to 25. MaxRequestWorkers must be at least as large
    as the number of threads in a single server.

Tested using the event MPM only (which was the default in my build).
Received on 2012-01-13 17:56:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.