From: Stefan Eissing Date: Tue, 11 Apr 2017 13:41:05 +0000 (+0000) Subject: On the 2.4.x branch: X-Git-Tag: 2.4.26~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=219b188e3439ca9bc5e2999d90667a12581668f5;p=thirdparty%2Fapache%2Fhttpd.git On the 2.4.x branch: revert of r1790971, as done in wrong branch. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1790972 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index cfa60987028..94a1438c607 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);