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 64B9D19852 for ; Wed, 2 Mar 2016 00:14:47 +0000 (UTC) Received: (qmail 41946 invoked by uid 500); 2 Mar 2016 00:14:41 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 41849 invoked by uid 500); 2 Mar 2016 00:14:41 -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 41839 invoked by uid 99); 2 Mar 2016 00:14:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Mar 2016 00:14:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7D289C0D25 for ; Wed, 2 Mar 2016 00:14:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.33 X-Spam-Level: X-Spam-Status: No, score=-0.33 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.329, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id q0sR9XHm1EVB for ; Wed, 2 Mar 2016 00:14:40 +0000 (UTC) Received: from monica.sharp.fm (monica.sharp.fm [80.168.143.5]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id 4BA6A5FBDB for ; Wed, 2 Mar 2016 00:14:40 +0000 (UTC) Received: from [192.168.220.210] (unknown [192.168.220.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: minfrin@sharp.fm) by monica.sharp.fm (Postfix) with ESMTPSA id 7E38682097 for ; Wed, 2 Mar 2016 00:09:32 +0000 (GMT) From: Graham Leggett Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: conn_rec needs a context Message-Id: <35DA6E0F-5A78-40D8-B9A7-F6398606EEE2@sharp.fm> Date: Wed, 2 Mar 2016 02:09:31 +0200 To: dev@httpd.apache.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Hi all, In order to get connections to have async behaviour, it must be possible = for the process_connection hook to exit in the expectation of being = called again when an async mpm is present - this is easy, the mpms = already do that. The missing bit is that conn_rec needs a context so that when is is = called a second time it knows what state it is in. There is a void *ctx variable that was added in r1565657, but I=E2=80=99m = not sure it is enough. Would it make sense to add a vector of contexts that same way we have a = vector of configs, one slot for each module, which will allow any module = to add a context of it=E2=80=99s own to conn_rec without having to = extend conn_rec? It would be nice to have the same for requests, for the same reason. Thoughts? Regards, Graham =E2=80=94