diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/mpm/winnt/child.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index cfa6098702..94a1438c60 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -817,8 +817,10 @@ static DWORD __stdcall worker_main(void *thread_num_val) if (!disconnected) { context->accept_socket = INVALID_SOCKET; + if (!c->aborted) { + ap_lingering_close(c); + } } - ap_lingering_close(c); } ap_update_child_status_from_indexes(0, thread_num, SERVER_DEAD, NULL); |