]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: httpclient: change the init sequence
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 22 Apr 2022 13:16:09 +0000 (15:16 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 22 Apr 2022 13:45:47 +0000 (15:45 +0200)
commit2c8b0842bb3647283463a5393d816ba1babc2fee
treec835f141645a562a17716987dd042df2e9b2c6b3
parentb53eb8790e03d6d6deac5b46868a8f5f5303b555
MEDIUM: httpclient: change the init sequence

Change the init order of the httpclient, a different init sequence is
required to allow a more complicated init.

The init is splitted in two parts:

- the first part is executed before config_check_validity(), which
  allows to create proxy and more advanced stuff than STG_INIT, because
  we might want to use stuff already initialized in haproxy (trash
  buffers for example)

- the second part is executed after the config_check_validity(),
  currently it is used for the log configuration.
src/http_client.c