]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] add support for "balance hdr(name)"
authorBenoit <maverick@maverick.eu.org>
Wed, 25 Mar 2009 12:02:10 +0000 (13:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 13:50:15 +0000 (15:50 +0200)
commitaffb481f1a09b36688fc67356bec314e544fd238
tree25a6daa910fcf4882dbf5188e3c09de07b0b4e6d
parent946ba59190a6cef1ead1d64149b2a7baf686fac3
[MEDIUM] add support for "balance hdr(name)"

There is a patch made by me that allow for balancing on any http header
field.

[WT:
  made minor changes:
  - turned 'balance header name' into 'balance hdr(name)' to match more
    closely the ACL syntax for easier future convergence
  - renamed the proxy structure fields header_* => hh_*
  - made it possible to use the domain name reduction to any header, not
    only "host" since it makes sense to do it with other ones.
  Otherwise patch looks good.
/WT]
doc/configuration.txt
include/types/backend.h
include/types/proxy.h
src/backend.c
src/cfgparse.c