]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sample: handle comma-delimited converter list
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Jul 2013 13:34:19 +0000 (15:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Jul 2013 13:00:37 +0000 (15:00 +0200)
commit833cc79434be9c5d33267a389766b850579334f2
treea4633c8eca97097ad6ea442af4b0ece733eec644
parentfa8e2bc68c583a227ebc78bab5779b84065b28da
MEDIUM: sample: handle comma-delimited converter list

We now support having a comma-delimited converter list, which can start
right after the fetch keyword. The immediate benefit is that it allows
to use converters in log-format expressions, for example :

   set-header source-net %[src,ipmask(24)]

The parser is also slightly improved and should be more resilient against
configuration errors. Also, optional arguments in converters were mistakenly
not allowed till now, so this was fixed.
doc/configuration.txt
src/sample.c