httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <>
Subject Re: Replacing ap_get_client_block()
Date Tue, 03 Jun 2003 21:29:18 GMT
--On Tuesday, June 03, 2003 17:33:49 -0400 "P. Dwayne Miller" 
<> wrote:

> I was trying to replace a call to ap_get_client_block() in a module with
> appropriate apr*brigade*() calls.  Several readers posted some code and I
> thank them for that.  But, when trying to figure out all of the details,
> I tracked down the source of ap_get_client_block() and it is already
> using *brigade*() calls.  There are some comments that say that it should
> not be used, but the details of why are not obvious to me.  I was hoping
> someone could shed some light on this for me.

ap_get_client_block does the right calls, but it can't return any errors 
due to the API.  However, if you use the brigade API, you can deal with 
errors appropriately.  -- justin

View raw message