]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: patterns: the hdr() pattern is now of type string
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2011 20:50:30 +0000 (21:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Dec 2011 16:33:27 +0000 (17:33 +0100)
commite428fb7b4e003cbccc90fae2f780e522f72b269a
tree37b151ac35acbac76d993c453826d9f77a9bd310
parent294c47375631ddf7f26bad02c5f79527cfa091e5
MEDIUM: patterns: the hdr() pattern is now of type string

This pattern previously was limited to type IP. With the new header
extraction function, it becomes possible to extract strings, so that
the header can be returned as a string. This will not change anything
to existing configs, as string will automatically be converted to IP
when needed. However, new configs will be able to use IPv6 addresses
from headers in stick-tables, as well as stick on any non-IP header
(eg: host, user-agent, ...).
doc/configuration.txt
src/proto_http.c