MINOR: http_act: Add -m flag for del-header name matching method
authorMaciej Zdeb <maciej@zdeb.pl>
Fri, 20 Nov 2020 13:58:48 +0000 (13:58 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Nov 2020 14:54:30 +0000 (15:54 +0100)
commitebdd4c55da4360bde7878604ea528c2031a26541
treecc46bdaee2f6bdd21fa80fc7dd209330036bbf8f
parent302b9f8d7a3805bfd25ecf267a8ddd730c6887b3
MINOR: http_act: Add -m flag for del-header name matching method

This patch adds -m flag which allows to specify header name
matching method when deleting headers from http request/response.
Currently beg, end, sub, str and reg are supported.

This is related to GitHub issue #909
doc/configuration.txt
include/haproxy/action-t.h
reg-tests/http-rules/del_header.vtc [new file with mode: 0644]
src/http_act.c
src/http_ana.c