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 41C099692 for ; Thu, 19 Jul 2012 17:22:45 +0000 (UTC) Received: (qmail 70597 invoked by uid 500); 19 Jul 2012 17:22:44 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 70522 invoked by uid 500); 19 Jul 2012 17:22:44 -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 70513 invoked by uid 99); 19 Jul 2012 17:22:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 17:22:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of minfrin@sharp.fm designates 174.143.229.200 as permitted sender) Received: from [174.143.229.200] (HELO chandler.sharp.fm) (174.143.229.200) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 17:22:36 +0000 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 417D3548051 for ; Thu, 19 Jul 2012 12:22:16 -0500 (CDT) Received: from [10.18.127.238] (unknown [82.132.219.246]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: minfrin@sharp.fm) by chandler.sharp.fm (Postfix) with ESMTP id 009C9548048 for ; Thu, 19 Jul 2012 12:22:15 -0500 (CDT) References: <20120719153831.GA5633@samfundet.no> <20120719172623.3a29b1b7@baldur> <8A1879E2-8784-4E4A-82BB-B4A605C28D43@jellybaby.net> In-Reply-To: <8A1879E2-8784-4E4A-82BB-B4A605C28D43@jellybaby.net> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Message-Id: Cc: "dev@httpd.apache.org" X-Mailer: iPhone Mail (9B206) From: Graham Leggett Subject: Re: mpm-itk and upstream Apache, once again Date: Thu, 19 Jul 2012 18:22:07 +0100 To: "dev@httpd.apache.org" X-Virus-Scanned: ClamAV using ClamSMTP On 19 Jul 2012, at 18:07, Tim Bannister wrote: > On 19 Jul 2012, at 17:26, Nick Kew wrote: >=20 >>> 2. Fixes to get Apache to drop the connection if it detects (during .hta= ccess lookup) that it would need to change the uid. >>=20 >> Dropping the connection gratuitously breaks HTTP, and so has no place in h= ttpd (of course, a third-party module sets its own rules). Would it need a c= ore patch to return an Internal Server Error (500)? >=20 > Vanilla httpd does this all the time=E2=80=A6 after a timed-out keepalive.= The client cannot make any assumptions about the configured timeout, and ca= n't tell whether the dropped connection is due to a genuine timeout or a UID= mismatch between the previous and current request. I would hate to have to troubleshoot this - two completely independent behav= iors, with the same symptom but completely different cause. Nick is right, a 500 is the right thing to do here. Regards, Graham --