Hello Lukas,

On  2024-01-30  22:17, Lukas Tribus wrote:
Move httpclient keywords into its own section and explain adding
an introductory paragraph.

Also see Github issue #2409

Should be backported to 2.6 ; but note that:
2.7 does not have httpclient.resolvers.disabled
2.6 does not have httpclient.retries and httpclient.timeout.connect
  doc/configuration.txt | 131 ++++++++++++++++++++++--------------------
  1 file changed, 69 insertions(+), 62 deletions(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 208b474471..402fa3d317 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -58,6 +58,7 @@ Summary
  3.8.      HTTP-errors
  3.9.      Rings
  3.10.     Log forwarding
+3.11.     httpclient

I replaced the title by "HTTPClient tuning"

+3.11. httpclient
+httpclient is an internal HTTP library, it can be used by various subsystems,
+for example in LUA scripts. httpclient is not used in the data path, in other
+words it has nothing with HTTP traffic passing through HAProxy.

I replaced "httpclient" by "HTTPClient" to match the lua documentation, and separated the httpclient.* keywords in the global index in a "* HTTPClient".

That would be clear enough, thanks! I pushed it to master.

I also feel like the "3. Global parameters" section derived a long time ago, some subsections are describing other configuration sections like "userlists", "peers", "mailers", "programs" etc. instead of keywords from the global section, which is confusing. Maybe we should try to clean this up.


William Lallemand

Reply via email to