From: Bill Stoddard Date: Mon, 14 Aug 2000 21:42:55 +0000 (+0000) Subject: Win32: Enable lingering close. X-Git-Tag: APACHE_2_0_ALPHA_6~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f06c15c393e684166afcf2b366bf8c73dd7cea94;p=thirdparty%2Fapache%2Fhttpd.git Win32: Enable lingering close. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86074 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 4fea851dc94..9f0c2034369 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1145,14 +1145,7 @@ static void worker_main(int child_num) } else { context->accept_socket = INVALID_SOCKET; - /* Disable lingering close for the moment to fix a seg fault. - * All the sendfile code needs some serious work to return - * proper error values, handle updating bytes_sent, etc. - * I'll enable lingering close after I've fixed the sendfile - * code - * ap_lingering_close(c); - */ - ap_bclose(c->client); + ap_lingering_close(c); } }