Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 87042 invoked from network); 31 Oct 2006 13:18:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 13:18:44 -0000 Received: (qmail 84686 invoked by uid 500); 31 Oct 2006 13:18:46 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 84637 invoked by uid 500); 31 Oct 2006 13:18:46 -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 84625 invoked by uid 99); 31 Oct 2006 13:18:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 05:18:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of minfrin@sharp.fm designates 64.49.220.200 as permitted sender) Received: from [64.49.220.200] (HELO chandler.sharp.fm) (64.49.220.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 05:17:57 -0800 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 7E3D5E5E64 for ; Tue, 31 Oct 2006 07:17:18 -0600 (CST) Received: from www.sharp.fm (unknown [209.61.173.189]) by chandler.sharp.fm (Postfix) with ESMTP id 64BE6E5CC5 for ; Tue, 31 Oct 2006 07:17:18 -0600 (CST) Received: from 196.8.104.27 (SquirrelMail authenticated user minfrin@sharp.fm) by www.sharp.fm with HTTP; Tue, 31 Oct 2006 15:17:18 +0200 (SAST) Message-ID: <49532.196.8.104.27.1162300638.squirrel@www.sharp.fm> In-Reply-To: <20061031123131.GB12987@redhat.com> References: <20061030182310.GC25419@redhat.com> <5c902b9e0610301036j3de36845rc8767e405def7dd8@mail.gmail.com> <20061030204524.78da7f07@grimnir> <5c902b9e0610301356l50463afas741558fed01d48@mail.gmail.com> <20061031105949.GA12375@redhat.com> <19174.196.8.104.27.1162295350.squirrel@www.sharp.fm> <20061031120231.GA12987@redhat.com> <42934.196.8.104.27.1162296707.squirrel@www.sharp.fm> <20061031123131.GB12987@redhat.com> Date: Tue, 31 Oct 2006 15:17:18 +0200 (SAST) Subject: Re: cache: the store_body interface From: "Graham Leggett" To: dev@httpd.apache.org User-Agent: SquirrelMail/1.4.8-2.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org On Tue, October 31, 2006 2:31 pm, Joe Orton wrote: > To determine writability of the output filter chain is not as simple as > exposing writability of the socket. An output filter may block on > writes because it is blocked on a read from the (writable) socket, this > happens with SSL for example. True, but this is not a showstopper. Keep in mind that it's advantageous to "try very hard" to cache the entire backend as soon as possible, but this doesn't have to be perfect in every case. If the socket blocks, the backend is delayed, and we are not as efficient as we theoretically could be. Oh well. This doesn't mean it should not try though, and to bring it back to the store_body() interface, it means store_body() should keep the option open for this to be possible, via option #1 or #2. Regards, Graham --