backport r1203708 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1205039 13f79535-47bb-0310-9956-
ffa450edef68
return 1;
}
- ap_update_child_status(c->sbh, SERVER_CLOSING, NULL);
+ if (c->sbh) {
+ ap_update_child_status(c->sbh, SERVER_CLOSING, NULL);
+ }
#ifdef NO_LINGCLOSE
ap_flush_conn(c); /* just close it */
static int start_lingering_close(event_conn_state_t *cs)
{
apr_status_t rv;
+
+ cs->c->sbh = NULL; /* prevent scoreboard updates from the listener
+ * worker will loop around and set SERVER_READY soon
+ */
+
if (ap_start_lingering_close(cs->c)) {
apr_pool_clear(cs->p);
ap_push_pool(worker_queue_info, cs->p);