Skip to content

Commit 010a0d4

Browse files
author
HAProxy Community
committed
Update docs for dev
1 parent bf502e1 commit 010a0d4

3 files changed

Lines changed: 76 additions & 25 deletions

File tree

docs/dev/configuration.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.3-dev7-30 - Configuration Manual</title>
5+
<title>HAProxy version 3.3-dev7-63 - Configuration Manual</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -4603,7 +4603,7 @@
46034603
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
46044604
</p>
46054605
<p class="text-right">
4606-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/27</b></small>
4606+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/28</b></small>
46074607
</p>
46084608
</div>
46094609
<!-- /.sidebar -->
@@ -4614,7 +4614,7 @@
46144614
<div class="text-center">
46154615
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
46164616
<h2>Configuration Manual</h2>
4617-
<p><strong>version 3.3-dev7-30</strong></p>
4617+
<p><strong>version 3.3-dev7-63</strong></p>
46184618
<p>
46194619
2025/08/20<br>
46204620

@@ -7011,8 +7011,8 @@ <h2 id="chapter-2.4" data-target="2.4"><small><a class="small" href="#2.4">2.4.<
70117011
- .warning &quot;message&quot; : emit this message at level WARNING
70127012
- .alert &quot;message&quot; : emit this message at level ALERT
70137013

7014-
Messages emitted at level WARNING may cause the process to fail to start if the
7015-
&quot;<a href="#strict-mode">strict-mode</a>&quot; is enabled. Messages emitted at level ALERT will always cause a
7014+
Messages emitted at level WARNING may cause the process to fail to start if
7015+
&quot;<a href="#zero-warning">zero-warning</a>&quot; is enabled. Messages emitted at level ALERT will always cause a
70167016
fatal error. These can be used to detect some inappropriate conditions and
70177017
provide advice to the user.
70187018
</pre><div class="separator">
@@ -7242,6 +7242,11 @@ <h3 id="chapter-2.9.1" data-target="2.9.1"><small><a class="small" href="#2.9.1"
72427242
the FD from the unix socket and uses it as if it were the FD
72437243
of an accept(). Should be used carefully.
72447244

7245+
Bugs: This protocol is known to be unreliable on macOS because
7246+
of an issue in the macOS sendmsg(2) implementation. The
7247+
connection might not be accepted correctly.
7248+
7249+
72457250
'unix@&lt;path&gt;' following string is considered as a UNIX socket &lt;path&gt;. this
72467251
prefix is useful to declare an UNIX socket path which don't
72477252
start by slash '/'.
@@ -33151,7 +33156,7 @@ <h2 id="chapter-12.8" data-target="12.8"><small><a class="small" href="#12.8">12
3315133156
<br>
3315233157
<hr>
3315333158
<div class="text-right">
33154-
HAProxy 3.3-dev7-30 &ndash; Configuration Manual<br>
33159+
HAProxy 3.3-dev7-63 &ndash; Configuration Manual<br>
3315533160
<small>, 2025/08/20</small>
3315633161
</div>
3315733162
</div>

docs/dev/intro.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.3-dev7-30 - Starter Guide</title>
5+
<title>HAProxy version 3.3-dev7-63 - Starter Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -484,7 +484,7 @@
484484
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
485485
</p>
486486
<p class="text-right">
487-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/27</b></small>
487+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/28</b></small>
488488
</p>
489489
</div>
490490
<!-- /.sidebar -->
@@ -495,7 +495,7 @@
495495
<div class="text-center">
496496
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
497497
<h2>Starter Guide</h2>
498-
<p><strong>version 3.3-dev7-30</strong></p>
498+
<p><strong>version 3.3-dev7-63</strong></p>
499499
<p>
500500
<br>
501501

@@ -2515,7 +2515,7 @@ <h2 id="chapter-4.4" data-target="4.4"><small><a class="small" href="#4.4">4.4.<
25152515
<br>
25162516
<hr>
25172517
<div class="text-right">
2518-
HAProxy 3.3-dev7-30 &ndash; Starter Guide<br>
2518+
HAProxy 3.3-dev7-63 &ndash; Starter Guide<br>
25192519
<small>, </small>
25202520
</div>
25212521
</div>

docs/dev/management.html

Lines changed: 61 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.3-dev7-30 - Management Guide</title>
5+
<title>HAProxy version 3.3-dev7-63 - Management Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -662,7 +662,7 @@
662662
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
663663
</p>
664664
<p class="text-right">
665-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/27</b></small>
665+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/08/28</b></small>
666666
</p>
667667
</div>
668668
<!-- /.sidebar -->
@@ -673,7 +673,7 @@
673673
<div class="text-center">
674674
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
675675
<h2>Management Guide</h2>
676-
<p><strong>version 3.3-dev7-30</strong></p>
676+
<p><strong>version 3.3-dev7-63</strong></p>
677677
<p>
678678
<br>
679679

@@ -2171,6 +2171,26 @@ <h2 id="chapter-9.1" data-target="9.1"><small><a class="small" href="#9.1">9.1.<
21712171
97. used_conn_cur [...S]: current number of connections in use
21722172
98. need_conn_est [...S]: estimated needed number of connections
21732173
99. uweight [..BS]: total user weight (backend), server user weight (server)
2174+
100. agg_server_status [..B.]: backend aggregated gauge of server's status
2175+
101. agg_server_status_check [..B.]: (deprecated)
2176+
102. agg_check_status [..B.]: backend aggregated gauge of server's state check
2177+
status
2178+
103. srid [...S]: server id revision
2179+
104. sess_other [.F..]: total number of sessions other than HTTP since process
2180+
started
2181+
105. h1_sess [.F..]: total number of HTTP/1 sessions since process started
2182+
106. h2_sess [.F..]: total number of HTTP/2 sessions since process started
2183+
107. h3_sess [.F..]: total number of HTTP/3 sessions since process started
2184+
108. req_other [.F..]: total number of sessions other than HTTP processed by
2185+
this object since the worker process started
2186+
109. h1req [.F..]: total number of HTTP/1 sessions processed by this object
2187+
since the worker process started
2188+
110. h2req [.F..]: total number of hTTP/2 sessions processed by this object
2189+
since the worker process started
2190+
111. h3req [.F..]: total number of HTTP/3 sessions processed by this object
2191+
since the worker process started
2192+
112. proto [L...]: protocol
2193+
113. priv_idle_cur [...S]: current number of private idle connections
21742194

21752195
For all other statistics domains, the presence or the order of the fields are
21762196
not guaranteed. In this case, the header line should always be used to parse
@@ -2866,11 +2886,19 @@ <h2 id="chapter-9.3" data-target="9.3"><small><a class="small" href="#9.3">9.3.<
28662886
entry in the frontends. If a certificate is used several time in a crt-list,
28672887
you will need to provide which line you want to delete. To display the line
28682888
numbers, use &quot;show ssl crt-list -n &lt;crtlist&gt;&quot;.
2869-
</pre><a class="anchor" name="del"></a><a class="anchor" name="9-del"></a><a class="anchor" name="9.3-del"></a><a class="anchor" name="del (Statistics and monitoring)"></a><a class="anchor" name="del (Unix Socket commands)"></a><a class="anchor" name="del server"></a><a class="anchor" name="9-del server"></a><a class="anchor" name="9.3-del server"></a><a class="anchor" name="del server (Statistics and monitoring)"></a><a class="anchor" name="del server (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="del server"></a><a href="#9.3-del%20server">del server</a></b> <span style="color: #080">&lt;backend&gt;</span>/<span style="color: #080">&lt;server&gt;</span></div><pre class="text">Remove a server attached to the backend &lt;backend&gt;. All servers are eligible,
2870-
except servers which are referenced by other configuration elements. The
2871-
server must be put in maintenance mode prior to its deletion. The operation
2872-
is cancelled if the server still has active or idle connection or its
2873-
connection queue is not empty.
2889+
</pre><a class="anchor" name="del"></a><a class="anchor" name="9-del"></a><a class="anchor" name="9.3-del"></a><a class="anchor" name="del (Statistics and monitoring)"></a><a class="anchor" name="del (Unix Socket commands)"></a><a class="anchor" name="del server"></a><a class="anchor" name="9-del server"></a><a class="anchor" name="9.3-del server"></a><a class="anchor" name="del server (Statistics and monitoring)"></a><a class="anchor" name="del server (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="del server"></a><a href="#9.3-del%20server">del server</a></b> <span style="color: #080">&lt;backend&gt;</span>/<span style="color: #080">&lt;server&gt;</span></div><pre class="text">Delete a removable server attached to the backend &lt;backend&gt;. A removable
2890+
server is the server which satisfies all of these conditions :
2891+
- not referenced by other configuration elements
2892+
- must already be in maintenance (see &quot;<a href="#disable%20server">disable server</a>&quot;)
2893+
- must not have any active or idle connections
2894+
2895+
If any of these conditions is not met, the command will fail.
2896+
2897+
Active connections are those with at least one ongoing request. It is
2898+
possible to speed up their termination using &quot;<a href="#shutdown%20sessions%20server">shutdown sessions server</a>&quot;. It
2899+
is highly recommended to use &quot;wait srv-removable&quot; before &quot;<a href="#del%20server">del server</a>&quot; to
2900+
ensure that all active or idle connections are closed and that the command
2901+
succeeds.
28742902
</pre><a class="anchor" name="disable"></a><a class="anchor" name="9-disable"></a><a class="anchor" name="9.3-disable"></a><a class="anchor" name="disable (Statistics and monitoring)"></a><a class="anchor" name="disable (Unix Socket commands)"></a><a class="anchor" name="disable agent"></a><a class="anchor" name="9-disable agent"></a><a class="anchor" name="9.3-disable agent"></a><a class="anchor" name="disable agent (Statistics and monitoring)"></a><a class="anchor" name="disable agent (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="disable agent"></a><a href="#9.3-disable%20agent">disable agent</a></b> <span style="color: #080">&lt;backend&gt;</span>/<span style="color: #080">&lt;server&gt;</span></div><pre class="text">Mark the auxiliary agent check as temporarily stopped.
28752903

28762904
In the case where an agent check is being run as a auxiliary check, due
@@ -3886,9 +3914,12 @@ <h2 id="chapter-9.3" data-target="9.3"><small><a class="small" href="#9.3">9.3.<
38863914
port Server's port (or zero if none)
38873915
- Unused field, serves as a visual delimiter
38883916
purge_delay Interval between connection purges, in milliseconds
3917+
served Number of connections currently in use
38893918
used_cur Number of connections currently in use
3919+
note that this excludes conns attached to a session
38903920
used_max Highest value of used_cur since the process started
38913921
need_est Floating estimate of total needed connections
3922+
idle_sess Number of idle connections flagged as private
38923923
unsafe_nb Number of idle connections considered as &quot;unsafe&quot;
38933924
safe_nb Number of idle connections considered as &quot;safe&quot;
38943925
idle_lim Configured maximum number of idle connections
@@ -4696,6 +4727,10 @@ <h2 id="chapter-9.3" data-target="9.3"><small><a class="small" href="#9.3">9.3.<
46964727
can be used to terminate long-running streams after a server is put into
46974728
maintenance mode, for instance. Such terminated streams are reported with a
46984729
'K' flag in the logs.
4730+
4731+
Backend connections are left in idle state, unless the server is already in
4732+
maintenance mode, in which case they will be immediately scheduled for
4733+
deletion.
46994734
</pre><a class="anchor" name="trace"></a><a class="anchor" name="9-trace"></a><a class="anchor" name="9.3-trace"></a><a class="anchor" name="trace (Statistics and monitoring)"></a><a class="anchor" name="trace (Unix Socket commands)"></a><div class="keyword"><b><a class="anchor" name="trace"></a><a href="#9.3-trace">trace</a></b></div><pre class="text">The &quot;<a href="#trace">trace</a>&quot; command alone lists the trace sources, their current status, and
47004735
their brief descriptions. It is only meant as a menu to enter next levels,
47014736
see other &quot;<a href="#trace">trace</a>&quot; commands below.
@@ -4902,12 +4937,13 @@ <h2 id="chapter-9.3" data-target="9.3"><small><a class="small" href="#9.3">9.3.<
49024937
unsatisfied for the whole &lt;delay&gt; duration. The supported conditions are:
49034938

49044939
- srv-removable &lt;proxy&gt;/&lt;server&gt; : this will wait for the specified server to
4905-
be removable, i.e. be in maintenance and no longer have any connection on
4906-
it. Some conditions will never be accepted (e.g. not in maintenance) and
4907-
will cause the report of a specific error message indicating what condition
4908-
is not met. The server might even have been removed in parallel and no
4909-
longer exit. If everything is OK before the delay, a success is returned
4910-
and the operation is terminated.
4940+
be removable by the &quot;<a href="#del%20server">del server</a>&quot; command, i.e. be in maintenance and no
4941+
longer have any connection on it (neither active or idle). Some conditions
4942+
will never be accepted (e.g. not in maintenance) and will cause the report
4943+
of a specific error message indicating what condition is not met. The
4944+
server might even have been removed in parallel and no longer exit. If
4945+
everything is OK before the delay, a success is returned and the operation
4946+
is terminated.
49114947

49124948
The default unit for the delay is milliseconds, though other units are
49134949
accepted if suffixed with the usual timer units (us, ms, s, m, h, d). When
@@ -4957,6 +4993,11 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
49574993
command and only this one will be sent to the designated process. In this
49584994
case the full command ends at the end of line or semi-colon like any regular
49594995
command.
4996+
4997+
Bugs: the sockpair@ protocol used to implement communication between the
4998+
master and the worker is known to not be reliable on macOS because of an
4999+
issue in the macOS sendmsg(2) implementation. A command might end up without
5000+
response because of that.
49605001
</pre><div class="separator">
49615002
<span class="label label-success">Examples:</span>
49625003
<pre class="prettyprint">
@@ -5023,6 +5064,11 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
50235064
closing the connection or by quitting the worker process (using the &quot;<a href="#quit">quit</a>&quot;
50245065
command). In this case, the prompt mode of the master socket (interactive,
50255066
prompt, timed) is propagated into the worker process.
5067+
5068+
Bugs: the sockpair@ protocol used to implement communication between the
5069+
master and the worker is known to not be reliable on macOS because of an
5070+
issue in the macOS sendmsg(2) implementation. A command might end up without
5071+
response because of that.
50265072
</pre><div class="separator">
50275073
<span class="label label-success">Examples:</span>
50285074
<pre class="prettyprint">
@@ -5578,7 +5624,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13
55785624
<br>
55795625
<hr>
55805626
<div class="text-right">
5581-
HAProxy 3.3-dev7-30 &ndash; Management Guide<br>
5627+
HAProxy 3.3-dev7-63 &ndash; Management Guide<br>
55825628
<small>, </small>
55835629
</div>
55845630
</div>

0 commit comments

Comments
 (0)