httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Help with http_protocol.c
Date Thu, 04 Jan 2007 00:50:56 GMT
On Wed, 03 Jan 2007 16:43:43 -0800
Shezaan Topiwala <shezaan@infostreet.com> wrote:

> Here is what I want to do. Send contents of buffer to client.

The "client" in this context being the first filter in
Apache's filter chain.  Which is something determined
by systems administrators, and sometimes by modules.

>   Return 
> number of bytes written if successful, 0 otherwise. The snippet of
> code I attached dealt with this issue, however I don't know how to
> port it to Apache2.0.

I expect you're looking for ap_rwrite and family.
Or possibly ap_fwrite and family.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message