MINOR: tcp/http/conf: extends the keyword registration options
authorThierry FOURNIER <tfournier@arpalert.org>
Thu, 4 Jun 2015 09:44:06 +0000 (11:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Jun 2015 21:01:37 +0000 (23:01 +0200)
commit0e11863a6fa1a049c22d141d2c864a1b1a999ae5
tree58e29f54fb5737dfd822bfa9cf1a7e2009da27f0
parentfbdb77582d390910be8c9fc2ba9bb7ecdd1852c5
MINOR: tcp/http/conf: extends the keyword registration options

This patch permits to register a new keyword with the keyword "tcp-request content"
'tcp-request connection", tcp-response content", http-request" and "http-response"
which is identified only by matching the start of the keyword.

for example, we register the keyword "set-var" with the option "match_pfx"
and the configuration keyword "set-var(var_name)" matchs this entry.
include/types/proto_http.h
include/types/proto_tcp.h
src/proto_http.c
src/proto_tcp.c