httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: ap_graceful_stop_signalled()
Date Thu, 02 Aug 2001 17:24:32 GMT
Ryan Bloom <> writes:

> Wait a second, I'm confused.  Jeff, if I read your message correctly, you are
> saying that you want to remove the ap_graceful_stop_signalled() function with
> an ap_mpm_query call.  You don't want to add any new functionality, just change
> how we determine what is going on.
> As for changing the function, -0.5.  I don't care if we change the name of the
> function, but this kind of thing doesn't belong in the ap_mpm_query function.
> That function should be used to query information about the MPM, and the
> current configuration.  It should not be used to track the state of the MPM.

The core needs to ask the MPM whether or not another request should be
accepted on the connection.  This is a little more general than the
purpose of ap_graceful_stop_signalled().

We can rename ap_graceful_stop_signalled() to something more
appropriate and also tweak the internals to reflect other reasons why
core shouldn't accept another request.

Anybody got a favorite name?

  ap_mpm_server_exiting()       return non-zero if this process going away
  ap_mpm_accepting_requests()   return zero if this process going away

Jeff Trawick | | PGP public key at web site:
             Born in Roswell... married an alien...

View raw message