On Mon, Nov 18, 2013 at 12:15 PM, Eric Covener <[email protected]> wrote:

> On Mon, Nov 18, 2013 at 10:58 AM, Jeff Trawick <[email protected]> wrote:
> > For the mod_perl crash with Event that I posted at the URL below, I would
> > suspect that there's some affinity with the original worker thread.  Can
> > anyone in mod_perl land confirm?
> >
> >
> http://mail-archives.apache.org/mod_mbox/perl-dev/201311.mbox/%3CCAKUrXK6C3R_F3NdA%2BJUGYOqppvnoQJLTGQ9%2BA916vuMb0g9dig%40mail.gmail.com%3E
> >
> > I'm also aware of a third-party diagnostic module that could use a hint,
> and
> > in general I wonder if anyone knows of specific interface requirements
> that
> > would need to be provided by a new hook for indicating when a connection
> or
> > request leaves the original thread or is handled by a new one.
>
> I can't see any need for more than request_rec on both ends.
>

As it turns out (or, why didn't I refresh my understanding before), the MPM
only knows about the conn_rec.

* It could do extra work to learn about the request in order to pass the
request to the new hook.
* It could avoid that extra work for configurations that don't have a
module that implements the hook.

I'm leaning towards not having the MPM bother with any of that.  Such magic
is well within the scope of a module that cares about detaching from the
thread anyway.

-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to