Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 85706200D69 for ; Wed, 27 Dec 2017 10:27:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 83FBF160C23; Wed, 27 Dec 2017 09:27:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA5EC160C20 for ; Wed, 27 Dec 2017 10:27:09 +0100 (CET) Received: (qmail 61241 invoked by uid 500); 27 Dec 2017 09:27:08 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 61232 invoked by uid 99); 27 Dec 2017 09:27:08 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Dec 2017 09:27:08 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 64ABC3A0316 for ; Wed, 27 Dec 2017 09:27:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1819323 - /httpd/httpd/trunk/docs/manual/mod/event.html.en Date: Wed, 27 Dec 2017 09:27:08 -0000 To: cvs@httpd.apache.org From: elukey@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20171227092708.64ABC3A0316@svn01-us-west.apache.org> archived-at: Wed, 27 Dec 2017 09:27:10 -0000 Author: elukey Date: Wed Dec 27 09:27:08 2017 New Revision: 1819323 URL: http://svn.apache.org/viewvc?rev=1819323&view=rev Log: event documentation rebuild Modified: httpd/httpd/trunk/docs/manual/mod/event.html.en Modified: httpd/httpd/trunk/docs/manual/mod/event.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/event.html.en?rev=1819323&r1=1819322&r2=1819323&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/event.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/event.html.en Wed Dec 27 09:27:08 2017 @@ -136,7 +136,9 @@ of the AsyncRequ sockets and they can be re-used to serve other requests.
Closing
-
Sometimes the MPM needs to perform a lingering close, namely sending back an early error to the client while it is still transmitting data to httpd. Sending the response and then closing the connection immediately is not the correct thing to do since the client (still trying to send the rest of the request) would get a connection reset and could not read the httpd's response. So in such cases, httpd tries to read the rest of the request to allow the client to consume the response. The lingering close is time bounded but it can take relatively long time, so a worker thread can offload this work to the listener.
+
Sometimes the MPM needs to perform a lingering close, namely sending back an early error to the client while it is still transmitting data to httpd. Sending the response and then closing the connection immediately is not the correct thing to do since the client (still trying to send the rest of the request) would get a connection reset and could not read the httpd's response. So in such cases, httpd tries to read the rest of the request to allow the client to consume the response. The lingering close is time bounded but it can take relatively long time, so a worker thread can offload this work to the listener. From 2.4.28 onward + the listener does not perform the lingering close anymore but it offloads the job to the first worker available. +

These improvements are valid for both HTTP/HTTPS connections.