]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: vars: adds support of variables
authorThierry FOURNIER <tfournier@arpalert.org>
Sat, 6 Jun 2015 17:29:07 +0000 (19:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Jun 2015 21:01:37 +0000 (23:01 +0200)
commit4834bc773c1597b4d0bef910bbe295d36bfd9a85
treededa3a572f20c2f2f2c1305caf70007baad03dc0
parenta9ff994461c16513fe390c4f23f59746ca036fb8
MEDIUM: vars: adds support of variables

This patch adds support of variables during the processing of each stream. The
variables scope can be set as 'session', 'transaction', 'request' or 'response'.
The variable type is the type returned by the assignment expression. The type
can change while the processing.

The allocated memory can be controlled for each scope and each request, and for
the global process.
Makefile
doc/configuration.txt
include/proto/vars.h [new file with mode: 0644]
include/types/arg.h
include/types/stream.h
include/types/vars.h [new file with mode: 0644]
src/proto_http.c
src/proto_tcp.c
src/stream.c
src/vars.c [new file with mode: 0644]