Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 45033 invoked by uid 500); 24 May 2002 18:32:50 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 45020 invoked from network); 24 May 2002 18:32:50 -0000 X-Authentication-Warning: rdu88-251-253.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu88-251-253.nc.rr.com To: dev@httpd.apache.org Subject: Re: Is Apache Proxy Half-Duplex? References: <008d01c202ef$e556b760$0a01230a@KOJ> <3CEE8472.3080306@algroup.co.uk> From: Jeff Trawick Date: 24 May 2002 14:36:05 -0400 In-Reply-To: <3CEE8472.3080306@algroup.co.uk> Message-ID: Lines: 19 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ben Laurie writes: > Seems to me that you really want a apr_poll equivalent that works on > bucket brigades - that would make this clean, and could be quite > elegant (IMO). What seems useful (to me) is for apr_poll() to operate on a generic I/O handle (instead of apr_socket_t) and for the APR app to be able to retrieve the generic I/O handle from an APR socket or pipe or whatever. The bucket code could then be able to return a generic I/O handle corresponding to a bucket (extend it for brigades as well). (For some bucket types (e.g., heap) perhaps they always appear readable, or perhaps trying to retrieve the handle indicates that the operation is inappropriat.) -- Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...