Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 31049 invoked from network); 13 Feb 2006 18:22:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Feb 2006 18:22:51 -0000 Received: (qmail 28323 invoked by uid 500); 13 Feb 2006 18:22:39 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 28298 invoked by uid 500); 13 Feb 2006 18:22:38 -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 28287 invoked by uid 99); 13 Feb 2006 18:22:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 10:22:38 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.133.199.10] (HELO jimsys.jagunet.com) (209.133.199.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2006 10:22:37 -0800 Received: from [127.0.0.1] (localhost [127.0.0.1]) by jimsys.jagunet.com (Postfix) with ESMTP id 1C92092913C for ; Mon, 13 Feb 2006 13:22:17 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <43F0C870.4000509@web.turner.com> References: <43EFA041.3040705@apache.org> <4CBC96DB-2C07-4F6F-8C43-B9708ED95584@jaguNET.com> <43F0C870.4000509@web.turner.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Jim Jagielski Subject: Re: [Patch] Keep Alive not workwing with mod_proxy (PR38602) Date: Mon, 13 Feb 2006 13:22:16 -0500 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.746.2) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Feb 13, 2006, at 12:57 PM, Brian Akins wrote: > Jim Jagielski wrote: > >> there is no guarantee that the next >> kept-alive connection will go to the same backend; >> as such, keeping it open is wasteful and re-using >> it is downright wrong. > > Why? Why would we care which backend a request goes to, in > general. And, do we not want to use keepalives as much as possible > to the backends? > Let's assume that you have Apache setup as a proxy and furthermore it's configured so that /html goes to foo1 and /images goes to /foo2. A request comes in for /html/index.htm, and gets proxied to foo1, as it should; the connection is kept-alive, and a request for /images/blarf.gif is requested; this should not be sent to the just kept-alive server, but instead to foo2... So we need to ensure that this doesn't happen. We had a similar type bug when picking workers out, which was patched in 349723...