MINOR: sample: Add converters to parse FIX messages
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 22 Oct 2020 13:39:03 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:26:30 +0000 (19:26 +0100)
commite138dda1e0de087fa8ad3c2ce548b8cea3e4d02f
tree59d296bc00d5323133e2be8cb2a35d62d9bbec71
parentcf26623780bdd66f4fff4154d0e5081082aff89b
MINOR: sample: Add converters to parse FIX messages

This patch implements a couple of converters to validate and extract tag value
from a FIX (Financial Information eXchange) message. The validation consists in
a few checks such as mandatory fields and checksum computation. The extraction
can get any tag value based on a tag string or tag id.

This patch requires the istend() function. Thus it depends on "MINOR: ist: Add
istend() function to return a pointer to the end of the string".

Reviewed and Fixed by Christopher Faulet <cfaulet@haproxy.com>
Makefile
doc/configuration.txt
include/haproxy/fix-t.h [new file with mode: 0644]
include/haproxy/fix.h [new file with mode: 0644]
src/fix.c [new file with mode: 0644]
src/sample.c