https://issues.apache.org/bugzilla/show_bug.cgi?id=38995

Dave <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Version|2.0.55                      |2.4-HEAD

--- Comment #1 from Dave <[email protected]> ---
Although this bug was raised against 2.0 in 2006, this behavior still exists on
the latest 2.4. It can easily be reproduced by restarting Apache while running
a simple curl loop against a phpinfo script (in other words while the server is
only handling a single request to the CGI)

As ap_graceful_stop_signalled() was removed in 2.3, I suspect a modern
equivalent before the connect() in cleanup_script() would be:

    /* Don't connect while we're shutting down */
    if (ap_mpm_query(AP_MPMQ_MPM_STATE, &rc) == APR_SUCCESS &&
        rc == AP_MPMQ_STOPPING) {
        return APR_EGENERAL;
    }

although I cannot vouch for the appropriateness of the reported workaround.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to