httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject [PATCH] PR#375: MaxClients needs to be at least 1
Date Sat, 19 Apr 1997 22:09:12 GMT
duh.

Dean

Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.77
diff -c -3 -r1.77 http_core.c
*** http_core.c	1997/04/12 04:24:56	1.77
--- http_core.c	1997/04/19 22:08:19
***************
*** 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;
  }



Mime
View raw message