commit | 7f1df8ff1a0d6c3d86bbe709500ff2f6a8275f50 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Apr 14 17:50:20 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed May 04 11:21:01 2022 +0200 |
tree | 948b1cd534fd50a72f255b76e7d7f821126d989b | |
parent | b57de07a210fd9f9d6f1f7c716a77c157455b90c [diff] |
MEDIUM: httpclient: remove url2sa to use a more flexible parser The httpclient DNS resolver will need a more efficient URL parser which splits the URL into parts and does not try to resolve. httpclient_spliturl uses the http_uri_parser in order to split the URL into several ist. The result of the function host part is then processed into str2ip2(), and fails if it it not an IP, allowing us to resolve the domain later.