commit | afa80496db6d25e76d090aa833713e937dd4174a | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@arpalert.org> | Wed Aug 19 09:04:15 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 20 17:13:47 2015 +0200 |
tree | 9e0fc229c0b3a0ecb9a24b43981e9c4c327a863b | |
parent | 322a12486707eef68f7ca516a478365c012dd3cf [diff] |
MEDIUM: actions: Normalize the return code of the configuration parsers This patch normalize the return code of the configuration parsers. Before these changes, the tcp action parser returned -1 if fail and 0 for the succes. The http action returned 0 if fail and 1 if succes. The normalisation does: - ACT_RET_PRS_OK for succes - ACT_RET_PRS_ERR for failure