Skip to content

Commit ab9d8d1

Browse files
author
HAProxy Community
committed
Update docs for dev
1 parent 2dfbb2c commit ab9d8d1

File tree

3 files changed

+69
-16
lines changed

3 files changed

+69
-16
lines changed

Diff for: docs/dev/configuration.html

+6-6
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.2-dev9-46 - Configuration Manual</title>
5+
<title>HAProxy version 3.2-dev10-29 - 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" />
@@ -4488,7 +4488,7 @@
44884488
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
44894489
</p>
44904490
<p class="text-right">
4491-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/08</b></small>
4491+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/11</b></small>
44924492
</p>
44934493
</div>
44944494
<!-- /.sidebar -->
@@ -4499,9 +4499,9 @@
44994499
<div class="text-center">
45004500
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
45014501
<h2>Configuration Manual</h2>
4502-
<p><strong>version 3.2-dev9-46</strong></p>
4502+
<p><strong>version 3.2-dev10-29</strong></p>
45034503
<p>
4504-
2025/04/02<br>
4504+
2025/04/11<br>
45054505

45064506
</p>
45074507
</div>
@@ -32257,8 +32257,8 @@ <h2 id="chapter-11.3" data-target="11.3"><small><a class="small" href="#11.3">11
3225732257
<br>
3225832258
<hr>
3225932259
<div class="text-right">
32260-
HAProxy 3.2-dev9-46 &ndash; Configuration Manual<br>
32261-
<small>, 2025/04/02</small>
32260+
HAProxy 3.2-dev10-29 &ndash; Configuration Manual<br>
32261+
<small>, 2025/04/11</small>
3226232262
</div>
3226332263
</div>
3226432264
<!-- /.col-lg-12 -->

Diff for: docs/dev/intro.html

+4-4
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.2-dev9-46 - Starter Guide</title>
5+
<title>HAProxy version 3.2-dev10-29 - 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/04/08</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/04/11</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.2-dev9-46</strong></p>
498+
<p><strong>version 3.2-dev10-29</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.2-dev9-46 &ndash; Starter Guide<br>
2518+
HAProxy 3.2-dev10-29 &ndash; Starter Guide<br>
25192519
<small>, </small>
25202520
</div>
25212521
</div>

Diff for: docs/dev/management.html

+59-6
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.2-dev9-46 - Management Guide</title>
5+
<title>HAProxy version 3.2-dev10-29 - 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" />
@@ -654,7 +654,7 @@
654654
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
655655
</p>
656656
<p class="text-right">
657-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/08</b></small>
657+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/04/11</b></small>
658658
</p>
659659
</div>
660660
<!-- /.sidebar -->
@@ -665,7 +665,7 @@
665665
<div class="text-center">
666666
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
667667
<h2>Management Guide</h2>
668-
<p><strong>version 3.2-dev9-46</strong></p>
668+
<p><strong>version 3.2-dev10-29</strong></p>
669669
<p>
670670
<br>
671671

@@ -4898,6 +4898,11 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
48984898
point and a PID. (e.g. @1 or @!1271). A @ alone could be use to specify the
48994899
master. Leaving processes are only accessible with the PID as relative process
49004900
number are only usable with the current processes.
4901+
4902+
This prefix may be used as a wrapper before a command, indicating that this
4903+
command and only this one will be sent to the designated process. In this
4904+
case the full command ends at the end of line or semi-colon like any regular
4905+
command.
49014906
</pre><div class="separator">
49024907
<span class="label label-success">Examples:</span>
49034908
<pre class="prettyprint">
@@ -4916,8 +4921,10 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
49164921
$ echo '@!1271 show info; @!1272 show info' | socat /var/run/haproxy-master.sock -
49174922
[...]
49184923
</code></pre>
4919-
</div><pre class="text">A prefix could be use as a command, which will send every next commands to
4920-
the specified process.
4924+
</div><pre class="text">The prefix may also be use as a standalone command to switch the default execution
4925+
context to the designated process, indicating that all subsequent commands will all
4926+
be executed in that process, until a new '@' command changes the execution context
4927+
again.
49214928
</pre><div class="separator">
49224929
<span class="label label-success">Examples:</span>
49234930
<pre class="prettyprint">
@@ -4934,6 +4941,52 @@ <h3 id="chapter-9.4.1" data-target="9.4.1"><small><a class="small" href="#9.4.1"
49344941
$ echo '@1; show info; show stat; @2; show info; show stat' | socat /var/run/haproxy-master.sock -
49354942
[...]
49364943
</code></pre>
4944+
</div><pre class="text"> Note about limitations: a few rare commands alter a CLI session's state
4945+
(e.g. &quot;<a href="#set%20anon">set anon</a>&quot;, &quot;<a href="#set%20timeout">set timeout</a>&quot;) and may not behave exactly similarly once
4946+
run from the master CLI due to commands being sent one at a time on their own
4947+
CLI session. Similarly, a few rare commands (&quot;<a href="#show%20events">show events</a>&quot;, &quot;<a href="#wait">wait</a>&quot;) actively
4948+
monitor the CLI for input or closure and are immediately interrupted when the
4949+
CLI is closed. These commands will not work as expected through the master
4950+
CLI because the command's input is closed after each command. For such rare
4951+
casesn the &quot;@@&quot; variant below might be more suited.
4952+
4953+
@@&lt;[!]pid&gt; [command...]
4954+
This prefix or command is very similar to the &quot;@&quot; prefix documented above
4955+
except that it enters the worker process, delivers the whole command line
4956+
into it as-is and stays there until the command finishes. Semi-colons are
4957+
delivered as well, allowing to execute a full pipelined command in a worker
4958+
process. The connection with the work remains open until the list of commands
4959+
completes. Any data sent after the commands will be forwarded to the worker
4960+
process' CLI and may be consumed by the commands being executed and will be
4961+
lost for the master process' CLI, offering a truly bidirectional connection
4962+
with the worker process. As such, users of such commands must be very careful
4963+
to wait for the command's completion before sending new commands to the
4964+
master CLI.
4965+
4966+
Instead of executing a single command, it is also possible to open a fully
4967+
interactive session on the worker process by not specifying any command
4968+
(i.e. &quot;@@1&quot; on its own line). This session can be terminated either by
4969+
closing the connection or by quitting the worker process (using the &quot;<a href="#quit">quit</a>&quot;
4970+
command).
4971+
</pre><div class="separator">
4972+
<span class="label label-success">Examples:</span>
4973+
<pre class="prettyprint">
4974+
<code><span class="comment"># gracefully close connections and delete a server once idle (wait max 10s)</span>
4975+
$ socat -t 11 /var/run/haproxy-master.sock - &lt;&lt;&lt; \
4976+
&quot;@@1 disable server app2/srv36; \
4977+
wait 10000 srv-removable app2/srv36; \
4978+
del server app2/srv36&quot;
4979+
4980+
<span class="comment"># forcefully close connections and quickly delete a server</span>
4981+
$ socat /var/run/haproxy-master.sock - &lt;&lt;&lt; \
4982+
&quot;@@1 disable server app2/srv36; \
4983+
shutdown sessions server app2/srv36; \
4984+
wait 100 srv-removable app2/srv36; \
4985+
del server app2/srv36&quot;
4986+
4987+
<span class="comment"># show messages arriving to this ring in real time (&quot;tail -f&quot; equivalent)</span>
4988+
$ (echo &quot;show events buf0 -w&quot;; read) | socat /var/run/haproxy-master.sock -
4989+
</code></pre>
49374990
</div><a class="anchor" name="expert-mode"></a><a class="anchor" name="9-expert-mode"></a><a class="anchor" name="9.4.1-expert-mode"></a><a class="anchor" name="expert-mode (Statistics and monitoring)"></a><a class="anchor" name="expert-mode (Master CLI commands)"></a><div class="keyword"><b><a class="anchor" name="expert-mode"></a><a href="#9.4.1-expert-mode">expert-mode</a></b> <span style="color: #008">[on|off]</span></div><pre class="text">This command activates the &quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">expert-mode<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#expert-mode%20%28Unix%20Socket%20commands%29">Unix Socket commands</a></li><li><a href="#expert-mode%20%28Master%20CLI%20commands%29">Master CLI commands</a></li></ul></span>&quot; for every worker accessed from the
49384991
master CLI. Combined with &quot;<a href="#mcli-debug-mode">mcli-debug-mode</a>&quot; it also activates the command on
49394992
the master. Display the flag &quot;e&quot; in the master CLI prompt.
@@ -5473,7 +5526,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13
54735526
<br>
54745527
<hr>
54755528
<div class="text-right">
5476-
HAProxy 3.2-dev9-46 &ndash; Management Guide<br>
5529+
HAProxy 3.2-dev10-29 &ndash; Management Guide<br>
54775530
<small>, </small>
54785531
</div>
54795532
</div>

0 commit comments

Comments
 (0)