diff --git a/NEWS b/NEWS index 365d9275..da337052 100644 --- a/NEWS +++ b/NEWS @@ -46,6 +46,7 @@ NEWS * fixed body handling of status 300 requests * spawn-fcgi: only try to connect to unix socket (not tcp) before spawning (#1575) * fix sending source of cgi script instead of 500 error if fork fails + * fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623) - 1.4.18 - 2007-09-09 diff --git a/src/mod_scgi.c b/src/mod_scgi.c index 51cdb5ad..b7287ba8 100644 --- a/src/mod_scgi.c +++ b/src/mod_scgi.c @@ -1057,6 +1057,9 @@ SETDEFAULTS_FUNC(mod_scgi_set_defaults) { /* a local socket + self spawning */ size_t pno; + /* HACK: just to make sure the adaptive spawing is disabled */ + df->min_procs = df->max_procs; + if (df->min_procs > df->max_procs) df->max_procs = df->min_procs; if (df->max_load_per_proc < 1) df->max_load_per_proc = 0;