On Fri, 2004-09-03 at 12:56 +0200, Graham Leggett wrote:
> Perhaps a warning on httpd startup should be added to make it clear the 
> modules are experiemental:
> 
> Warning: The perchild module is EXPERIMENTAL, please use at own risk.
> 

That is a little more extreme, but attached is a simple change to the
configure.in to print out another warning when anyone uses an
experimental MPM.  This is done at the very very end of the configure
process.

Sample Output:

============================================================
    WARNING: THE 'leader' MPM IS EXPERIMENTAL
============================================================
 The selected MPM might not be fully functional!

 Development of this MPM is not complete. Do not use this
 MPM unless you are a programmer willing to help fix it.

 If you are looking for a stable server, you should not use
 the 'leader' MPM until it is moved out of experimental.
============================================================


Anyone against committing the attached patch?

-Paul Querna
Index: configure.in
===================================================================
RCS file: /home/cvs/httpd-2.0/configure.in,v
retrieving revision 1.267
diff -u -r1.267 configure.in
--- configure.in	2 Sep 2004 17:29:13 -0000	1.267
+++ configure.in	5 Sep 2004 07:57:42 -0000
@@ -581,3 +581,22 @@
   APACHE_GEN_MAKEFILES
 ])
 
+case $MPM_SUBDIR_NAME in
+*experimental*)
+    echo ""
+    echo ""
+    echo "============================================================"
+    echo "    WARNING: THE '${APACHE_MPM}' MPM IS EXPERIMENTAL"
+    echo "============================================================"
+    echo " The selected MPM might not be fully functional!"
+    echo ""
+    echo " Development of this MPM is not complete. Do not use this"
+    echo " MPM unless you are a programmer willing to help fix it."
+    echo ""
+    echo " If you are looking for a stable server, you should not use"
+    echo " the '${APACHE_MPM}' MPM until it is moved out of experimental."
+    echo "============================================================"
+    echo ""
+    echo ""
+    ;;
+esac

Reply via email to