commit | d1f27e3394e7f4dfc9f83a47d34d6c608acc3abe | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Dec 17 09:33:38 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Jan 20 15:18:45 2020 +0100 |
tree | 0b4d91085f826c2205063b12d75ea5813964b5dd | |
parent | 92d34fe38d6ab504724cca9cda093917dacc9210 [diff] |
MINOR: http-rules: Make set-header and add-header custom actions Now, these actions use their own dedicated function and are no longer handled "in place" during the HTTP rules evaluation. Thus the action names ACT_HTTP_SET_HDR and ACT_HTTP_ADD_VAL are removed. The action type is now set to 0 to set a header (so remove existing ones if any and add a new one) or to 1 to add a header (add without remove).