]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http: split http_transform_header() function in two parts.
authorThierry FOURNIER <tfournier@haproxy.com>
Mon, 16 Mar 2015 10:15:50 +0000 (11:15 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Mar 2015 10:34:06 +0000 (11:34 +0100)
commit5531f87ace0c80908ffb0db6d652e52d3aa86359
treecb3231fe286de09325ff6e774182b4c1aeeff528
parentb77aece24a6ab104b4e51efad58c12aeb29d6d2a
MINOR: http: split http_transform_header() function in two parts.

This function is a callback for HTTP actions. This function
creates the replacement string from a build_logline() format
and transform the header.

This patch split this function in two part. With this modification,
the header transformation and the replacement string are separed.

We can now transform the header with another replacement string
source than a build_logline() format.
include/proto/proto_http.h
src/proto_http.c