commit | d456aa4ac2b792c3ae0c787aea4edbbd0ed0fc0e | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Fri Mar 08 14:47:00 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 07 06:54:06 2019 +0200 |
tree | ad511e16cb4f2533ce081232226e217fa3a966b9 | |
parent | 034c88cf03a5102cc05d796e3d6f22a802f1cf76 [diff] |
MINOR: config: Extract the code of "stick-table" line parsing. With this patch we move the code responsible of parsing "stick-table" lines to implement parse_stick_table() function in src/stick-tabble.c so that to be able to parse "stick-table" elsewhere than in proxy sections. We have have also added a conf struct to stktable struct to store the filename and the line in the file the stick-table has been parsed to help in diagnosing and displaying any configuration issue.