Changeset 2110

Show
Ignore:
Timestamp:
02/28/2008 10:38:28 PM (5 months ago)
Author:
stbuehler
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/NEWS

    r2108 r2110  
    1919  * fixed log_write() for log-files > 4kbyte 
    2020  * fix sending source of cgi script instead of 500 error if fork fails 
     21  * fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623) 
    2122 
    2223- 1.5.0-r19.. - 
  • trunk/src/mod_scgi.c

    r2033 r2110  
    10481048                                                /* a local socket + self spawning */ 
    10491049                                                size_t pno; 
     1050 
     1051                                                /* HACK:  just to make sure the adaptive spawing is disabled */ 
     1052                                                df->min_procs = df->max_procs; 
    10501053 
    10511054                                                if (df->min_procs > df->max_procs) df->max_procs = df->min_procs;