Re: cvs commit: squid/src MemBuf.c

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Wed, 17 Apr 2002 16:21:30 -0600 (MDT)

On Wed, 17 Apr 2002, Henrik Nordstrom wrote:

> Alex Rousskov wrote:
>
> > Original design note:
> >
> > memBufAppend should not be used on strings [that
> > need implicit \0 termination]. Use memBufPrintf for that.
> > memBufAppend is for appending raw opaque data.
>
> packerToMem is one of your inventions, isn't it?
> (initializes packing of HTTP headers into a MemObj as single a large
> string)

Probably. If you are implying that my own code uses memBuf interface
incorrectly, that is quite possible and, in fact, is a good reason why
the interface should be improved to become more obvious.

Alex.
Received on Wed Apr 17 2002 - 16:21:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST