commit | 992ad62e3cd466bd740b6210ce1cfedd375eb439 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Mon Sep 12 17:39:04 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Sep 13 17:12:38 2022 +0200 |
tree | 54115743adf63c8625cb5936bf97bf21ba6c2f5f | |
parent | 54aec5f67876d85f9422570b57c04c5d1b47ed78 [diff] |
MEDIUM: httpclient: allow to use another proxy httpclient_new_from_proxy() is a variant of httpclient_new() which allows to create the requests from a different proxy. The proxy and its 2 servers are now stored in the httpclient structure. The proxy must have been created with httpclient_create_proxy() to be used. The httpclient_postcheck() callback will finish the initialization of all proxies created with PR_CAP_HTTPCLIENT.