commit | 1218d19921c64650b90ed06cfb5c328dc867286c | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Tue May 03 14:09:06 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed May 04 11:21:01 2022 +0200 |
tree | 7afdab1cabd2b6e47a43c32eeb68b1e3cfac957d | |
parent | 5392ff6e3c201f27307600d73af71ad26f4a0b53 [diff] |
MEDIUM: httpclient: allow address and port change for resolving To allow the http-request set-dst to work for the httpclient DNS resolving, some changes need to be done: - The destination address need to be set in the frontend (s->csf->dst) instead of the backend (s->csb->dst) to be able to use tcp_action_req_set_dst() - SRV_F_MAPPORTS need to be set on the proxy in order to allow the port change in alloc_dst_address()