Perrin Harkins wrote:
On Sat, Aug 9, 2008 at 5:19 PM, Dondi M. Stroma <[EMAIL PROTECTED]>
wrote:
What are the mod_perl 2 equivalents of $Apache::Server::Starting and
$Apache::Server::ReStarting?
http://perl.apache.org/docs/2.0/user/porting/compat.html#C__Apache__Server__Starting__and_C__Apache__Server__ReStarting_
Thanks, but I do not see how Apache2::ServerUtil::restarting() does the same
thing. The $Apache::Server::Starting and $Apache::Server::ReStarting are,
respectively, 1 and 0 during start, 0 and 1 during restart, and 0 and 0 when
neither starting nor restarting. The restarting() function returns 1 during
start, 2 during (first) restart, but then still returns 2 when neither
starting nor restarting. So how can I tell if its neither starting nor
restarting?