]> git.kaiwu.me - haproxy.git/commit
MINOR: httpclient: handle unix and other socket types in dst
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 4 May 2022 08:59:51 +0000 (10:59 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 4 May 2022 09:21:01 +0000 (11:21 +0200)
commit853327390eb6b599667067b852120996e17341ae
treeb7a23ef2d65cfaa9d42b6e0c60bc599a562c5e00
parent0e23526a2c3e793abc7ed27deac90e485c4f9ab1
MINOR: httpclient: handle unix and other socket types in dst

httpclient_set_dst() allows one to set the destination address instead
of using the one in the URL or resolving one from the host.
This function also support other types of socket like sockpair@, unix@,
anything that could be used on a server line.

In order to still support this behavior, the address must be set on the
backend in this particular case because the frontend connection does not
support anything other than ipv4 or ipv6.
src/http_client.c