Jeff Trawick <[EMAIL PROTECTED]> writes:
mod_status and scoreboard.c in my patch have this gorp:
> + ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &thread_limit);
> + if (thread_limit == 0) {
> + /* XXX prefork! */
> + thread_limit = 1;
> + }
the thread_limit==0 gorp isn't necessary here... (sorry for confusing
the patch)
the gorpy logic is necessary with AP_MPMQ_MAX_THREADS... I would
think that is a bug (i.e., prefork should return 1, not zero)...
a module should use AP_MPMQ_IS_THREADED to find out that information
instead of calling AP_MPMQ_MAX_THREADS and then compare the value with
zero
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...