]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: chunk: add a function to reset a chunk
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2012 12:23:11 +0000 (13:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2012 12:33:42 +0000 (13:33 +0100)
commitc26ac9deeabe3af21a90c97b4fd626430d178b0f
tree6b0564cfc4e8bbc6aedcab8cd736897b6a0e8b7d
parentacbbe900e2aa51accbd2665da7ee822e87b73c32
MINOR: chunk: add a function to reset a chunk

This is a first step in avoiding to constantly reinitialize chunks.
It replaces the old chunk_reset() which was not properly named as it
used to drop everything and was only used by chunk_destroy(). It has
been renamed chunk_drop().
include/common/chunk.h