Skip to content

Commit f316b51

Browse files
author
HAProxy Community
committed
Update docs for dev
1 parent 8c9a033 commit f316b51

File tree

3 files changed

+74
-15
lines changed

3 files changed

+74
-15
lines changed

docs/dev/configuration.html

Lines changed: 66 additions & 7 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.1-dev10-112 - Configuration Manual</title>
5+
<title>HAProxy version 3.1-dev10-125 - 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" />
@@ -2197,6 +2197,8 @@
21972197

21982198
<a class="list-group-item" href="#language">language</a>
21992199

2200+
<a class="list-group-item" href="#last_entity">last_entity</a>
2201+
22002202
<a class="list-group-item" href="#last_rule_file">last_rule_file</a>
22012203

22022204
<a class="list-group-item" href="#last_rule_line">last_rule_line</a>
@@ -4354,6 +4356,8 @@
43544356

43554357
<a class="list-group-item" href="#wait_end">wait_end</a>
43564358

4359+
<a class="list-group-item" href="#waiting_entity">waiting_entity</a>
4360+
43574361
<a class="list-group-item" href="#weight">weight</a>
43584362

43594363
<a class="list-group-item" href="#when">when</a>
@@ -4402,7 +4406,7 @@
44024406
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
44034407
</p>
44044408
<p class="text-right">
4405-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/10/30</b></small>
4409+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/10/31</b></small>
44064410
</p>
44074411
</div>
44084412
<!-- /.sidebar -->
@@ -4413,7 +4417,7 @@
44134417
<div class="text-center">
44144418
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
44154419
<h2>Configuration Manual</h2>
4416-
<p><strong>version 3.1-dev10-112</strong></p>
4420+
<p><strong>version 3.1-dev10-125</strong></p>
44174421
<p>
44184422
2024/10/16<br>
44194423

@@ -25174,6 +25178,7 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2"
2517425178
<tr><td ><a href="#7-int">int(&lt;integer&gt;)</a></td><td >signed</td></tr>
2517525179
<tr><td ><a href="#7-ipv4">ipv4(&lt;ipv4&gt;)</a></td><td >ipv4</td></tr>
2517625180
<tr><td ><a href="#7-ipv6">ipv6(&lt;ipv6&gt;)</a></td><td >ipv6</td></tr>
25181+
<tr><td ><a href="#7-last_entity">last_entity</a></td><td >string</td></tr>
2517725182
<tr><td ><a href="#7-last_rule_file">last_rule_file</a></td><td >string</td></tr>
2517825183
<tr><td ><a href="#7-last_rule_line">last_rule_line</a></td><td >integer</td></tr>
2517925184
<tr><td ><a href="#7-lat_ns_avg">lat_ns_avg</a></td><td >integer</td></tr>
@@ -25189,8 +25194,8 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2"
2518925194
<tr><td ><a href="#7-rand">rand([&lt;range&gt;])</a></td><td >integer</td></tr>
2519025195
<tr><td ><a href="#7-srv_conn">srv_conn([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >integer</td></tr>
2519125196
<tr><td ><a href="#7-srv_conn_free">srv_conn_free([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >integer</td></tr>
25192-
<tr><td ><a href="#7-srv_is_up">srv_is_up([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >boolean</td></tr>
2519325197
<thead><tr><th>keyword</th><th>output type</th></tr></thead>
25198+
<tr><td ><a href="#7-srv_is_up">srv_is_up([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >boolean</td></tr>
2519425199
<tr><td ><a href="#7-srv_queue">srv_queue([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >integer</td></tr>
2519525200
<tr><td ><a href="#7-srv_sess_rate">srv_sess_rate([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >integer</td></tr>
2519625201
<tr><td ><a href="#7-srv_iweight">srv_iweight([&lt;backend&gt;/]&lt;server&gt;)</a></td><td >integer</td></tr>
@@ -25205,6 +25210,7 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2"
2520525210
<tr><td ><a href="#7-txn.sess_term_state">txn.sess_term_state</a></td><td >string</td></tr>
2520625211
<tr><td ><a href="#7-uuid">uuid([&lt;version&gt;])</a></td><td >string</td></tr>
2520725212
<tr><td ><a href="#7-var">var(&lt;var-name&gt;[,&lt;default&gt;])</a></td><td >undefined</td></tr>
25213+
<tr><td ><a href="#7-waiting_entity">waiting_entity</a></td><td >string</td></tr>
2520825214
</table><pre class="text">Detailed list:
2520925215
</pre><a class="anchor" name="act_conn"></a><a class="anchor" name="7-act_conn"></a><a class="anchor" name="7.3.2-act_conn"></a><a class="anchor" name="act_conn (Using ACLs and fetching samples)"></a><a class="anchor" name="act_conn (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="act_conn"></a><a href="#7.3.2-act_conn">act_conn</a></b> : integer</div><pre class="text">Returns the total number of active concurrent connections on the process.
2521025216
</pre><a class="anchor" name="acl"></a><a class="anchor" name="7-acl"></a><a class="anchor" name="7.3.2-acl"></a><a class="anchor" name="acl (Using ACLs and fetching samples)"></a><a class="anchor" name="acl (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="acl"></a><a href="#7.3.2-acl">acl</a></b>(<span style="color: #008">[!]</span><span style="color: #080">&lt;name&gt;</span><span style="color: #008">[,...]</span>) : boolean</div><pre class="text">Returns true if the evaluation of all the named ACL(s) is true, otherwise
@@ -25399,7 +25405,36 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2"
2539925405
</pre><a class="anchor" name="int"></a><a class="anchor" name="7-int"></a><a class="anchor" name="7.3.2-int"></a><a class="anchor" name="int (Using ACLs and fetching samples)"></a><a class="anchor" name="int (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="int"></a><a href="#7.3.2-int">int</a></b>(<span style="color: #080">&lt;integer&gt;</span>) : signed integer</div><pre class="text">Returns a signed integer.
2540025406
</pre><a class="anchor" name="ipv4"></a><a class="anchor" name="7-ipv4"></a><a class="anchor" name="7.3.2-ipv4"></a><a class="anchor" name="ipv4 (Using ACLs and fetching samples)"></a><a class="anchor" name="ipv4 (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="ipv4"></a><a href="#7.3.2-ipv4">ipv4</a></b>(<span style="color: #080">&lt;ipv4&gt;</span>) : ipv4</div><pre class="text">Returns an ipv4.
2540125407
</pre><a class="anchor" name="ipv6"></a><a class="anchor" name="7-ipv6"></a><a class="anchor" name="7.3.2-ipv6"></a><a class="anchor" name="ipv6 (Using ACLs and fetching samples)"></a><a class="anchor" name="ipv6 (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="ipv6"></a><a href="#7.3.2-ipv6">ipv6</a></b>(<span style="color: #080">&lt;ipv6&gt;</span>) : ipv6</div><pre class="text">Returns an ipv6.
25402-
</pre><a class="anchor" name="last_rule_file"></a><a class="anchor" name="7-last_rule_file"></a><a class="anchor" name="7.3.2-last_rule_file"></a><a class="anchor" name="last_rule_file (Using ACLs and fetching samples)"></a><a class="anchor" name="last_rule_file (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="last_rule_file"></a><a href="#7.3.2-last_rule_file">last_rule_file</a></b> : string</div><pre class="text">This returns the name of the configuration file containing the last final
25408+
</pre><a class="anchor" name="last_entity"></a><a class="anchor" name="7-last_entity"></a><a class="anchor" name="7.3.2-last_entity"></a><a class="anchor" name="last_entity (Using ACLs and fetching samples)"></a><a class="anchor" name="last_entity (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="last_entity"></a><a href="#7.3.2-last_entity">last_entity</a></b> : string</div><pre class="text">This returns the identity of the last entity that was evaluated during stream
25409+
analysis. It may be the final rule that matched or the filter that
25410+
interrupted the processing.
25411+
25412+
A final rule is one that terminates the evaluation of the rule set (like an
25413+
&quot;<a href="#accept">accept</a>&quot;, &quot;<a href="#deny">deny</a>&quot; or &quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">redirect<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#redirect%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#redirect%20%28Alphabetically%20sorted%20actions%20reference%29">Alphabetically sorted actions reference</a></li></ul></span>&quot;). This works for TCP request and response
25414+
rules acting on the &quot;content&quot; rulesets, and on HTTP rules from
25415+
&quot;<a href="#http-request">http-request</a>&quot;, &quot;<a href="#http-response">http-response</a>&quot; and &quot;<a href="#http-after-response">http-after-response</a>&quot; rule sets. The
25416+
legacy &quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">redirect<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#redirect%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#redirect%20%28Alphabetically%20sorted%20actions%20reference%29">Alphabetically sorted actions reference</a></li></ul></span>&quot; rulesets are not supported (such information is not stored
25417+
there), and neither &quot;<a href="#tcp-request%20connection">tcp-request connection</a>&quot; nor &quot;<a href="#tcp-request%20session">tcp-request session</a>&quot;
25418+
rulesets are supported because the information is stored at the stream level
25419+
and streams do not exist during these rules. In that case, the returned value
25420+
is equivalent to &quot;last_rule_file:last_rule_line&quot;.
25421+
See also &quot;<a href="#last_rule_file">last_rule_file</a>&quot;, &quot;<a href="#last_rule_line">last_rule_line</a>&quot;.
25422+
25423+
For a filter, its identifier is returned as defined by the developers. If
25424+
this identifier is not defined, an hexadecimal value is returned
25425+
corresponding to an unique internal identifier.
25426+
25427+
The main purpose of this function is to be able to report in logs the last
25428+
entity that interrupted a processing, in order to help debugging issues. The
25429+
information returned on entities may changed in time and must not be used for
25430+
something else than debugging.
25431+
</pre><div class="separator">
25432+
<span class="label label-success">Example:</span>
25433+
<pre class="prettyprint">
25434+
<code><span class="comment"># Log the last entity, if any, and only if an error is reported</span>
25435+
log-format &quot;$HAPROXY_HTTP_LOG_FMT %{Q}[last_entity,when(error)]
25436+
</code></pre>
25437+
</div><a class="anchor" name="last_rule_file"></a><a class="anchor" name="7-last_rule_file"></a><a class="anchor" name="7.3.2-last_rule_file"></a><a class="anchor" name="last_rule_file (Using ACLs and fetching samples)"></a><a class="anchor" name="last_rule_file (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="last_rule_file"></a><a href="#7.3.2-last_rule_file">last_rule_file</a></b> : string</div><pre class="text">This returns the name of the configuration file containing the last final
2540325438
rule that was matched during stream analysis. A final rule is one that
2540425439
terminates the evaluation of the rule set (like an &quot;<a href="#accept">accept</a>&quot;, &quot;<a href="#deny">deny</a>&quot; or
2540525440
&quot;<span class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">redirect<span class="caret"></span></a><ul class="dropdown-menu"><li class="dropdown-header">This keyword is available in sections :</li><li><a href="#redirect%20%28Alphabetically%20sorted%20keywords%20reference%29">Alphabetically sorted keywords reference</a></li><li><a href="#redirect%20%28Alphabetically%20sorted%20actions%20reference%29">Alphabetically sorted actions reference</a></li></ul></span>&quot;). This works for TCP request and response rules acting on the
@@ -25583,7 +25618,31 @@ <h3 id="chapter-7.3.2" data-target="7.3.2"><small><a class="small" href="#7.3.2"
2558325618
sample fetch fails, unless a default value is provided, in which case it will
2558425619
return it as a string. Empty strings are permitted. See <a href="#2.8">section 2.8</a> about
2558525620
variables for details.
25586-
</pre></div>
25621+
</pre><a class="anchor" name="waiting_entity"></a><a class="anchor" name="7-waiting_entity"></a><a class="anchor" name="7.3.2-waiting_entity"></a><a class="anchor" name="waiting_entity (Using ACLs and fetching samples)"></a><a class="anchor" name="waiting_entity (Fetching samples from internal states)"></a><div class="keyword"><b><a class="anchor" name="waiting_entity"></a><a href="#7.3.2-waiting_entity">waiting_entity</a></b> : string</div><pre class="text">This returns the identity of the entity that was waiting to continue its
25622+
processing when an error or a timeout was encountered. It may be the a rule
25623+
or a filter for instance. However, this list is not exhaustive and the format
25624+
of all possible entities is not forcefully documented.
25625+
25626+
When the entity is a rule, its location is returned. It is the configuration
25627+
file containing the rule followed by the line where the rule is defined in
25628+
this file, separated by a colon.
25629+
25630+
For a filter, its identifier is returned as defined by the developers. If
25631+
this identifier is not defined, an hexadecimal value is returned
25632+
corresponding to an unique internal identifier.
25633+
25634+
The main purpose of this function is to be able to report in logs the entity
25635+
blocking the stream analysis when an error or a timeout was encountered,
25636+
interrupting this processing, in order to help debugging issues. The
25637+
information returned on entities may changed in time and must not be used for
25638+
something else than debugging.
25639+
</pre><div class="separator">
25640+
<span class="label label-success">Example:</span>
25641+
<pre class="prettyprint">
25642+
<code><span class="comment"># Log the waiting entity, if any, and only if an error is reported</span>
25643+
log-format &quot;$HAPROXY_HTTP_LOG_FMT %{Q}[waiting_entity,when(error)]
25644+
</code></pre>
25645+
</div></div>
2558725646
<a class="anchor" id="7.3.3" name="7.3.3"></a>
2558825647
<h3 id="chapter-7.3.3" data-target="7.3.3"><small><a class="small" href="#7.3.3">7.3.3.</a></small> Fetching samples at Layer 4</h3>
2558925648
<div><pre class="text">The layer 4 usually describes just the transport layer which in HAProxy is
@@ -31306,7 +31365,7 @@ <h2 id="chapter-11.3" data-target="11.3"><small><a class="small" href="#11.3">11
3130631365
<br>
3130731366
<hr>
3130831367
<div class="text-right">
31309-
HAProxy 3.1-dev10-112 &ndash; Configuration Manual<br>
31368+
HAProxy 3.1-dev10-125 &ndash; Configuration Manual<br>
3131031369
<small>, 2024/10/16</small>
3131131370
</div>
3131231371
</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.1-dev10-112 - Starter Guide</title>
5+
<title>HAProxy version 3.1-dev10-125 - 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>2024/10/30</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>2024/10/31</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.1-dev10-112</strong></p>
498+
<p><strong>version 3.1-dev10-125</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.1-dev10-112 &ndash; Starter Guide<br>
2518+
HAProxy 3.1-dev10-125 &ndash; Starter Guide<br>
25192519
<small>, </small>
25202520
</div>
25212521
</div>

docs/dev/management.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.1-dev10-112 - Management Guide</title>
5+
<title>HAProxy version 3.1-dev10-125 - 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" />
@@ -648,7 +648,7 @@
648648
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
649649
</p>
650650
<p class="text-right">
651-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/10/30</b></small>
651+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2024/10/31</b></small>
652652
</p>
653653
</div>
654654
<!-- /.sidebar -->
@@ -659,7 +659,7 @@
659659
<div class="text-center">
660660
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
661661
<h2>Management Guide</h2>
662-
<p><strong>version 3.1-dev10-112</strong></p>
662+
<p><strong>version 3.1-dev10-125</strong></p>
663663
<p>
664664
<br>
665665

@@ -5352,7 +5352,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13
53525352
<br>
53535353
<hr>
53545354
<div class="text-right">
5355-
HAProxy 3.1-dev10-112 &ndash; Management Guide<br>
5355+
HAProxy 3.1-dev10-125 &ndash; Management Guide<br>
53565356
<small>, </small>
53575357
</div>
53585358
</div>

0 commit comments

Comments
 (0)