httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@osf.org>
Subject Re: rwrite and mod_perl
Date Wed, 11 Dec 1996 17:07:56 GMT
Randy Terbush <randy@zyzzyva.com> wrote:

> 
> Has anyone looked at writing this? I'm not totally clear on the
> design requirment, but would take a stab at it in the next 48
> if someone hasn't. I think it would be nice to give mod_perl
> a clear path with 1.2.

Here is my original suggestion, I just used the other r* functions as
a model.

-Doug

int rwrite(const void *buf, int nbyte, request_rec *r)
{
    int n;
    if (r->connection->aborted) return EOF;
    n=bwrite(r->connection->client, buf, nbyte);
    SET_BYTES_SENT(r);
    return n;
}


Mime
View raw message