]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: converter: Add json_query converter
authorAlex <al-git001@none.at>
Thu, 15 Apr 2021 14:45:15 +0000 (16:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 Apr 2021 15:07:03 +0000 (17:07 +0200)
commit51c8ad45ce1f8ab876b791caa5d5376bbee844ef
tree231c46d988cd13caf54b0b5893e603a8ec46cc4a
parent41007a6835fe29f865e01d8fbeb96114c0d01828
MINOR: sample: converter: Add json_query converter

With the json_query can a JSON value be extacted from a header
or body of the request and saved to a variable.

This converter makes it possible to handle some JSON workload
to route requests to different backends.
doc/configuration.txt
reg-tests/converter/json_query.vtc [new file with mode: 0644]
src/sample.c