On Fri, 19 Oct 2007 10:49:27 +0200
"Alexander Farber" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> the libapreq calls util_read() function -
> http://search.cpan.org/src/DOUGM/libapreq-0.31/c/apache_request.c
> which allocates a buffer with (r->remaining + 1) bytes.

That looks like very, very old and obsolete code (pre-APR).

But you should check up on the difference between ap_palloc
and ap_pcalloc for the answer to your question.

-- 
Nick Kew

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

Reply via email to