httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: Modify the content after having got it
Date Mon, 17 Mar 2003 21:54:40 GMT
On Mon, 17 Mar 2003, Greg Ames wrote:

> > I have 'data' datas long 'lenght'. If I try to modify
> > the data I get and to send it again inside the bucket,
> > it doesnt work.
>
> What kind of buckets do you have before you try to modify them?  You
> can't modify some types of buckets.

You're not supposed to modify the data in ANY kind of bucket.  Buckets are
write-once read-many.  If you want to modify the data in a bucket, you
have to do a bucket read, copy the data into a new buffer, modify it, and
place the new buffer into a new bucket, replacing the old bucket.

--Cliff

Mime
View raw message