httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: Is Apache Proxy Half-Duplex?
Date Fri, 24 May 2002 22:41:55 GMT
Jeff Trawick wrote:
> 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.)

Well, you may want that under the hood, but it clearly ain't right for 
bucket brigades, coz the brigade itself might have data ready.

I suppose write brigades will have to say no at some point. Hmm. 




"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

View raw message