MINOR: converters: give the session pointer as converter argument
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 23 Feb 2015 14:11:11 +0000 (15:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Feb 2015 22:12:31 +0000 (23:12 +0100)
commit68a556e28202d2fd9f1f8166718c2cd682a7cda2
tree055f438418648f789d16fa343e9842e478d9ed77
parent1edc971919b7ed1905e6e00fa96bef975b18bcde
MINOR: converters: give the session pointer as converter argument

Some usages of the converters need to know the attached session. The Lua
needs the session for retrieving his running context. This patch adds
the "session" as an argument of the converters prototype.
include/types/sample.h
src/map.c
src/proto_http.c
src/sample.c
src/stick_table.c