]> git.kaiwu.me - haproxy.git/commit
MEDIUM: httpclient: http-request rules for resolving
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 28 Apr 2022 14:55:02 +0000 (16:55 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 4 May 2022 09:21:01 +0000 (11:21 +0200)
commit5392ff6e3c201f27307600d73af71ad26f4a0b53
tree01faa4aee263411ded60606c1b679ec39deeeadf
parent7f1df8ff1a0d6c3d86bbe709500ff2f6a8275f50
MEDIUM: httpclient: http-request rules for resolving

The httpclient_resolve_init() adds http-request actions which does the
resolving using the Host header of the HTTP request.

The parse_http_req_cond function is directly used over an array of http
rules.

The do-resolve rule uses the "default" resolvers section. If this
section does not exist in the configuration, the resolving is disabling.
src/http_client.c