]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: wrongly named httpproxy flag
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 24 Jan 2025 16:53:04 +0000 (17:53 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 1 Jul 2025 12:47:52 +0000 (14:47 +0200)
commit519abefb57da1ae21fc557213cae8b21cdaa2797
tree442e560cd031a96b8f89257eec0948335736f66b
parent747a812066464d58a5192594a644212fe6703f2f
BUG/MINOR: httpclient: wrongly named httpproxy flag

The HC_F_HTTPPROXY flag was wrongly named and does not use the correct
value, indeed this flag was meant to be used for the httpclient API, not
the httpclient CLI.

This patch fixes the problem by introducing HTTPCLIENT_FO_HTTPPROXY
which has must be set in hc->flags.

Also add a member 'options' in the httpclient structure, because the
member flags is reinitialized when starting.

Must be backported as far as 3.0.
include/haproxy/http_client-t.h
src/http_client.c
src/ssl_ocsp.c