haproxy/include
Willy Tarreau 19d14ef104 MEDIUM: make the trash be a chunk instead of a char *
The trash is used everywhere to store the results of temporary strings
built out of s(n)printf, or as a storage for a chunk when chunks are
needed.

Using global.tune.bufsize is not the most convenient thing either.

So let's replace trash with a chunk and directly use it as such. We can
then use trash.size as the natural way to get its size, and get rid of
many intermediary chunks that were previously used.

The patch is huge because it touches many areas but it makes the code
a lot more clear and even outlines places where trash was used without
being that obvious.
2012-10-29 16:57:30 +01:00
..
common CLEANUP: replace chunk_printf() with chunk_appendf() 2012-10-29 16:14:26 +01:00
import
proto MAJOR: session: detach the connections from the stream interfaces 2012-10-26 20:15:20 +02:00
types MEDIUM: make the trash be a chunk instead of a char * 2012-10-29 16:57:30 +01:00