apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: stupid bucket tricks
Date Thu, 27 Sep 2001 03:52:08 GMT
On Wed, 26 Sep 2001, Cliff Woolley wrote:

>     str = apr_psprintf(p, "</PRE>\n\n<HR></HR>\n\n%s\n\n</BODY>\n</HTML>\n",
>                        ap_psignature("", r));
>     e = apr_bucket_pool_create(str, strlen(str), p);

Or, alternately (meant to mention this in that last email), at what point
does the brigade buffering system become an attractive replacement for the
above?  You'd still be doing the copying, but at least then you'd still
only have one bucket at the end and you wouldn't have to parse a format

Just a thought.


   Cliff Woolley
   Charlottesville, VA

View raw message