Changeset 2109

Show
Ignore:
Timestamp:
02/28/2008 10:19:03 PM (7 months ago)
Author:
stbuehler
Message:

fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623)

Location:
branches/lighttpd-1.4.x
Files:
1 modified
2 copied

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.4.x/NEWS

    r2107 r2109  
    4747  * spawn-fcgi: only try to connect to unix socket (not tcp) before spawning (#1575) 
    4848  * fix sending source of cgi script instead of 500 error if fork fails 
     49  * fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623) 
    4950 
    5051- 1.4.18 - 2007-09-09 
  • branches/lighttpd-1.4.x/src/mod_scgi.c

    r2035 r2109  
    10571057                                                /* a local socket + self spawning */ 
    10581058                                                size_t pno; 
     1059 
     1060                                                /* HACK:  just to make sure the adaptive spawing is disabled */ 
     1061                                                df->min_procs = df->max_procs; 
    10591062 
    10601063                                                if (df->min_procs > df->max_procs) df->max_procs = df->min_procs;