a lingering close where applicable). Set is_graceful in the winnt MPM.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85193
13f79535-47bb-0310-9956-
ffa450edef68
}
int ap_process_http_connection(conn_rec *c)
- {
+{
request_rec *r;
/*
ap_update_connection_status(c->id, "Status", "Keepalive");
ap_destroy_pool(r->pool);
- if (ap_graceful_stop_signalled()) {
- /* XXX: hey wait, this should do a lingering_close! */
- ap_bclose(c->client);
- return OK;
- }
+ if (ap_graceful_stop_signalled())
+ break;
}
ap_reset_connection_status(c->id);
}
}
- /* Shutdown the worker threads */
+ /* Setting is_graceful will close keep-alive connections
+ is_graceful = 1;
+ /* Shutdown the worker threads */
if (osver.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) {
for (i = 0; i < nthreads; i++) {
add_job(-1);