Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41D7318594 for ; Fri, 22 Jan 2016 14:17:34 +0000 (UTC) Received: (qmail 93152 invoked by uid 500); 22 Jan 2016 14:17:33 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 93083 invoked by uid 500); 22 Jan 2016 14:17:33 -0000 Mailing-List: contact dev-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 dev@httpd.apache.org Received: (qmail 93072 invoked by uid 99); 22 Jan 2016 14:17:33 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2016 14:17:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 387AD1804C8 for ; Fri, 22 Jan 2016 14:17:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.654 X-Spam-Level: X-Spam-Status: No, score=-0.654 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.554, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=mKMpPT0/; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=mKMpPT0/ Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RGve6ITVTN5b for ; Fri, 22 Jan 2016 14:17:27 +0000 (UTC) Received: from mail.greenbytes.de (mail.greenbytes.de [217.91.35.233]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id DD71D215D6 for ; Fri, 22 Jan 2016 14:17:26 +0000 (UTC) Received: by mail.greenbytes.de (Postfix, from userid 117) id 2F73D15A0F77; Fri, 22 Jan 2016 15:17:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1453472239; bh=b+udO4WEh2c81arYYpWMHoSCYIAOBPTauxELRJ95bFs=; h=Subject:From:In-Reply-To:Date:References:To:From; b=mKMpPT0/98//zDxf11w/mGCXkw743JNW4ZduJQcE6TWqnY8upLjCZswkwqdC/DJzY SlnSqBc6/jzzhGHh+ZOEwbJSIEbFt4BsuN3KcDxupOLjf0lOyCj5AiOWxZnqK1TOZh R4s6Gxp44+BscboruGil2143pc5rBKhcaNdcIqsU= Received: from [192.168.1.42] (unknown [217.91.35.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id 0500215A04E3 for ; Fri, 22 Jan 2016 15:17:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1453472239; bh=b+udO4WEh2c81arYYpWMHoSCYIAOBPTauxELRJ95bFs=; h=Subject:From:In-Reply-To:Date:References:To:From; b=mKMpPT0/98//zDxf11w/mGCXkw743JNW4ZduJQcE6TWqnY8upLjCZswkwqdC/DJzY SlnSqBc6/jzzhGHh+ZOEwbJSIEbFt4BsuN3KcDxupOLjf0lOyCj5AiOWxZnqK1TOZh R4s6Gxp44+BscboruGil2143pc5rBKhcaNdcIqsU= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: async keepalive in http/2 From: Stefan Eissing In-Reply-To: Date: Fri, 22 Jan 2016 15:17:18 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9C32A969-7CD1-4C13-B9F6-67AB06385C59@greenbytes.de> References: To: dev@httpd.apache.org X-Mailer: Apple Mail (2.3112) > Am 22.01.2016 um 15:16 schrieb Eric Covener : >=20 > On Fri, Jan 22, 2016 at 9:12 AM, Stefan Eissing > wrote: >> With the timeout behaviour of SSL reads fixed, I am making another = attempt at have http/2 connections behave properly in async MPMs, e.g. = event. One thing for that necessary as change in server is the hook to = send a last GOAWAY frame before the connection is closed. Not sending it = seems to confuse browsers, leading to unwanted failure of the subsequent = request. >>=20 >> You opinion therefore is required. On inspection of the connection = shutdown handling, it seems that *all* MPM modules call, directly or = indirectly, ap_start_lingering_close(). Keepalive connections are still = healthy at this point and pool cleanup happens later, so this seems to = be the place to install a new hook: >>=20 >> AP_DECLARE_HOOK(int,pre_close_connection,(conn_rec *c)) as RUN_ALL >>=20 >> Does this seem like the right place? Is the name any good? >>=20 >> (forget the question about naming, should not have disturbed the = beast...) >=20 > Sounds reasonable, and c->pool cleanups you probably found are too > late to write anything. Indeed. All MPMs seem to cleanup pools way afterwards. Which is correct, = I believe.=