Commit Graph

6 Commits (04ccfda6398820ccc570497ea76aea5966dc368c)

Author SHA1 Message Date
Victor Julien 6277d2e0e4 MemBuffer: add expansion call
For some of the buffer users it's hard to predict how big the data
will be. In the stats.log case this depends on chosen runmode and
number of threads.

To deal with this case a 'MemBufferExpand' call is added. This realloc's
the buffer.
12 years ago
Jason Ish 0a33e73417 Add macros for access to the underlying buffer and offset.
Useful for using passing the buffer through to another writer
such as LogFileCtx.
13 years ago
Victor Julien d68fd54a76 Fix/suppress a couple of harmless compiler warnings. 14 years ago
Anoop Saldanha 5f939412af debuglog now uses the new mem buffer API. Improve file ctx locking to just the file write 15 years ago
Victor Julien f219841795 Misc buffer API update. 15 years ago
Anoop Saldanha 69ed12fd28 Introduce new buffer API that lets you create and manage a buffer. Update http log to use this as well 15 years ago