httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Simple MPM is in trunk
Date Tue, 28 Oct 2008 15:20:18 GMT
On Tue, 28 Oct 2008 00:12:51 -0700
Paul Querna <chip@force-elite.com> wrote:

> I've added the Simple MPM to trunk:
> https://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/simple/

One central part of interest (simplified):

int simple_child_loop(simple_core_t *sc)
{
  simple_setup_workers(sc);
  simple_setup_listeners(sc);
  simple_setup_privs(sc);
  simple_run_loop(sc);
}

For my immediate purposes, I'd like to see simple_setup_privs replaced
by a hook (which is essentially the old child_init hook).  Then add
back in a mod_unixd to get the classic model of *X MPMs, and whatever
is the equivalent on other platforms.

But is there any reason we shouldn't replace *each of* the above
functions with a hook?

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message