dgaudet 97/04/21 19:42:09
Modified: src CHANGES http_core.c
Log:
MaxClients should be at least 1.
Submitted by: John Van Essen
Reviewied by: Dean, Roy, Chuck, Jim, ......
Revision Changes Path
1.241 +2 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.240
retrieving revision 1.241
diff -C3 -r1.240 -r1.241
*** CHANGES 1997/04/22 02:35:09 1.240
--- CHANGES 1997/04/22 02:42:06 1.241
***************
*** 1,5 ****
--- 1,7 ----
Changes with Apache 1.2
+ *) MaxClients should be at least 1. [Eilebrecht Lars] PR#375
+
*) The default handler now logs invalid methods or URIs (i.e. PUT on an
object that can't be PUT, or FOOBAR for some method FOOBAR that
apache doesn't know about at all). Log 404s that occur in mod_include.
1.79 +3 -0 apache/src/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -C3 -r1.78 -r1.79
*** http_core.c 1997/04/22 02:35:10 1.78
--- http_core.c 1997/04/22 02:42:07 1.79
***************
*** 1004,1009 ****
--- 1004,1012 ----
fprintf(stderr, " Adjusting as required (to increase, please
read\n");
fprintf(stderr, " the documentation)\n");
daemons_limit = HARD_SERVER_LIMIT;
+ } else if (daemons_limit < 1) {
+ fprintf (stderr, "WARNING: Require MaxClients > 0, setting to 1\n");
+ daemons_limit = 1;
}
return NULL;
}