]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] HTTP: factorize all the header insertions
authorWilly Tarreau <w@1wt.eu>
Sun, 18 Mar 2007 21:36:26 +0000 (22:36 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Mar 2007 21:36:26 +0000 (22:36 +0100)
commit4af6f3a9eae3e01e068f62033c9f2e17fee1409a
tree3826b74ff81dcecc3ce044f0680783172ec6c2dc
parenta5e65754e6354f8e7d1606824f062a1c547bd3d3
[MINOR] HTTP: factorize all the header insertions

Two new functions http_header_add_tail() and http_header_add_tail2()
make it easier to append headers, and also reduce the number of
sprintf() calls and perform stricter checks.
include/proto/buffers.h
src/buffers.c
src/proto_http.c