Re: cvs commit: apr-serf/include serf_buckets.h
Cliff Woolley <[email protected]> Mon, 1 Jul 2002 12:12:31 -0400 (EDT)
| Newsgroups | gmane.comp.apache.apr.serf.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0207011209290.3921-100000@deepthought.cs.virginia.edu> |
On 1 Jul 2002 [email protected] wrote: > jerenkrantz 2002/07/01 08:47:54 > > Modified: include serf_buckets.h > Log: > The authentication and header buckets need a pool so that they can allocate > memory on bucket_read > You can't have metadata buckets that return data on an apr_bucket_read() call. apr_bucket_read() is only supposed to return *data*, and the data returned should be of length at most e->length (which is zero for metadata buckets). If you want to get the metadata out, you need a type-specific call. --Cliff