]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: add support for sending the server's name in the outgoing request
authorMark Lamourine <markllama@redhat.com>
Wed, 4 Jan 2012 18:02:01 +0000 (13:02 -0500)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Jan 2012 14:17:31 +0000 (15:17 +0100)
commitc2247f0b8d37cc31d34e586fcc60ae67b398feb8
tree0d8cdde844770e36e1b32cfa603aed573555c1bf
parente1a908c369ab988448c6672066ad1d09b6919d02
MEDIUM: http: add support for sending the server's name in the outgoing request

New option "http-send-name-header" specifies the name of a header which
will hold the server name in outgoing requests. This is the name of the
server the connection is really sent to, which means that upon redispatches,
the header's value is updated so that it always matches the server's name.
doc/configuration.txt
include/proto/proto_http.h
include/types/proxy.h
src/cfgparse.c
src/proto_http.c
src/session.c
tests/test-http-send-name-hdr.cfg [new file with mode: 0644]