Geoffrey Young wrote:
They aren't yet available in mp2, mostly due to the fact
that they weren't available in the Apache API until recently, and from
what Geoff has mentioned it seems to be incomplete yet. Geoff, what's
the current status of these query flags? I wasn't following cvs commits
for quite some time. I've tried the new query flags added recently (you
need cvs modperl and cvs apache to get them):


they appear to be in 2.0 HEAD (APACHE_2_0_BRANCH) for all mpms.  I know that
jeff started with worker and prefork, so if there are any gaps I would
expect them to be elsewhere.

FWIW, they also appear to be in 2.0.49, having been introduced in worker
this past december.  so it may not be long before we can officially support
them, but it will be a while - we're currently supporting 2.0.46, and I'd
suggest to move to 2.0.47 soonish, but 2.0.49 as the minimum is pretty far off.

Thanks Geoff.

We could provide our own flag meanwhile, using the pool user data trick. Or we could expose the API to users, so they can do it in perl. It probably should be a function and not a variable/constant, so that when Apache catches up and provides such support we will internally switch to it.

but perhaps we can work support in gradually.  the way you get these is just
by querying ap_mpm_query for a new state (AP_MPMQ_MPM_STATE).  most (if not
all) mpms return APR_ENOTIMPL for an unknown query, so if we simply provided
the required constant definitions we could probably open it all up now - on
platforms where it isn't supported Apache::MPM::query would just return
APR::ENOTIMPL instead of Apache::MPMQ_STARTING.

Hmm, have you by chance missed that I actually wrote the code that does that in the message that this reply goes to? And as I show there, it doesn't work. Please see my original (previous) post. thanks.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to