Skip to content

Commit d6be220

Browse files
author
HAProxy Community
committed
Update docs for dev
1 parent a21558b commit d6be220

3 files changed

Lines changed: 45 additions & 12 deletions

File tree

docs/dev/configuration.html

Lines changed: 37 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.4-dev8-35 - Configuration Manual</title>
5+
<title>HAProxy version 3.4-dev8-42 - 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" />
@@ -4521,6 +4521,8 @@
45214521

45224522
<a class="list-group-item" href="#tune.lua.maxmem">tune.lua.maxmem</a>
45234523

4524+
<a class="list-group-item" href="#tune.lua.openlibs">tune.lua.openlibs</a>
4525+
45244526
<a class="list-group-item" href="#tune.lua.service-timeout">tune.lua.service-timeout</a>
45254527

45264528
<a class="list-group-item" href="#tune.lua.session-timeout">tune.lua.session-timeout</a>
@@ -4886,7 +4888,7 @@
48864888
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
48874889
</p>
48884890
<p class="text-right">
4889-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/03</b></small>
4891+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/09</b></small>
48904892
</p>
48914893
</div>
48924894
<!-- /.sidebar -->
@@ -4897,7 +4899,7 @@
48974899
<div class="text-center">
48984900
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
48994901
<h2>Configuration Manual</h2>
4900-
<p><strong>version 3.4-dev8-35</strong></p>
4902+
<p><strong>version 3.4-dev8-42</strong></p>
49014903
<p>
49024904
2026/04/03<br>
49034905

@@ -7947,6 +7949,7 @@ <h2 id="chapter-2.10" data-target="2.10"><small><a class="small" href="#2.10">2.
79477949
- <a href="#tune.lua.log.loggers">tune.lua.log.loggers</a>
79487950
- <a href="#tune.lua.log.stderr">tune.lua.log.stderr</a>
79497951
- <a href="#tune.lua.maxmem">tune.lua.maxmem</a>
7952+
- <a href="#tune.lua.openlibs">tune.lua.openlibs</a>
79507953
- <a href="#tune.lua.service-timeout">tune.lua.service-timeout</a>
79517954
- <a href="#tune.lua.session-timeout">tune.lua.session-timeout</a>
79527955
- <a href="#tune.lua.task-timeout">tune.lua.task-timeout</a>
@@ -10448,6 +10451,36 @@ <h2 id="chapter-3.2" data-target="3.2"><small><a class="small" href="#3.2">3.2.<
1044810451
default it is zero which means unlimited. It is important to set a limit to
1044910452
ensure that a bug in a script will not result in the system running out of
1045010453
memory.
10454+
</pre><a class="anchor" name="tune.lua.openlibs"></a><a class="anchor" name="3-tune.lua.openlibs"></a><a class="anchor" name="3.2-tune.lua.openlibs"></a><a class="anchor" name="tune.lua.openlibs (Global section)"></a><a class="anchor" name="tune.lua.openlibs (Performance tuning)"></a><div class="keyword"><b><a class="anchor" name="tune.lua.openlibs"></a><a href="#3.2-tune.lua.openlibs">tune.lua.openlibs</a></b> <span style="color: #008">[all | none | <span style="color: #080">&lt;lib&gt;</span><span style="color: #008">[,<span style="color: #080">&lt;lib&gt;</span>...]</span>]</span></div><pre class="text">Selects which Lua standard libraries are loaded when initialising the Lua
10455+
state. The argument is a comma-separated list of library names taken from
10456+
the following set: table, io, os, string, math, utf8, package, debug. The
10457+
special values &quot;all&quot; and &quot;none&quot; may be used instead of a list. &quot;none&quot;
10458+
cannot be combined with library names. The default value is &quot;all&quot;.
10459+
10460+
The base and coroutine libraries are always loaded regardless of this
10461+
setting: base provides core Lua functions that HAProxy relies on, and
10462+
coroutine is required because HAProxy overrides coroutine.create() with
10463+
its own safe implementation.
10464+
10465+
Note that fork() and new thread creation are already blocked by default in
10466+
HAProxy regardless of this setting, and can only be re-enabled via the
10467+
&quot;<a href="#insecure-fork-wanted">insecure-fork-wanted</a>&quot; global directive. Restricting the set of loaded
10468+
libraries further reduces the attack surface exposed to Lua scripts. In
10469+
particular:
10470+
- omitting &quot;os&quot; prevents os.execute() and os.exit()
10471+
- omitting &quot;io&quot; prevents io.open() and io.popen()
10472+
- omitting &quot;package&quot; prevents loading native C modules via require()
10473+
- omitting &quot;<a href="#debug">debug</a>&quot; prevents introspection of HAProxy internals via
10474+
debug.getupvalue(), debug.getmetatable(), or debug.sethook()
10475+
</pre><div class="separator">
10476+
<span class="label label-success">Examples:</span>
10477+
<pre class="prettyprint">
10478+
<code>tune.lua.openlibs none <span class="comment"># only base + coroutine</span>
10479+
tune.lua.openlibs string,math,table,utf8 <span class="comment"># safe subset, no I/O or OS</span>
10480+
tune.lua.openlibs all <span class="comment"># default, load everything</span>
10481+
</code></pre>
10482+
</div><pre class="text">This setting must be set before any &quot;<a href="#lua-load">lua-load</a>&quot; or &quot;<a href="#lua-load-per-thread">lua-load-per-thread</a>&quot;
10483+
directive, otherwise a parse error is returned.
1045110484
</pre><a class="anchor" name="tune.lua.service-timeout"></a><a class="anchor" name="3-tune.lua.service-timeout"></a><a class="anchor" name="3.2-tune.lua.service-timeout"></a><a class="anchor" name="tune.lua.service-timeout (Global section)"></a><a class="anchor" name="tune.lua.service-timeout (Performance tuning)"></a><div class="keyword"><b><a class="anchor" name="tune.lua.service-timeout"></a><a href="#3.2-tune.lua.service-timeout">tune.lua.service-timeout</a></b> <span style="color: #080">&lt;timeout&gt;</span></div><pre class="text">This is the execution timeout for the Lua services. This is useful for
1045210485
preventing infinite loops or spending too much time in Lua. This timeout
1045310486
counts only the pure Lua runtime. If the Lua does a sleep, the sleep is
@@ -35235,7 +35268,7 @@ <h2 id="chapter-12.9" data-target="12.9"><small><a class="small" href="#12.9">12
3523535268
<br>
3523635269
<hr>
3523735270
<div class="text-right">
35238-
HAProxy 3.4-dev8-35 &ndash; Configuration Manual<br>
35271+
HAProxy 3.4-dev8-42 &ndash; Configuration Manual<br>
3523935272
<small>, 2026/04/03</small>
3524035273
</div>
3524135274
</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.4-dev8-35 - Starter Guide</title>
5+
<title>HAProxy version 3.4-dev8-42 - 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>2026/04/03</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>2026/04/09</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.4-dev8-35</strong></p>
498+
<p><strong>version 3.4-dev8-42</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.4-dev8-35 &ndash; Starter Guide<br>
2518+
HAProxy 3.4-dev8-42 &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.4-dev8-35 - Management Guide</title>
5+
<title>HAProxy version 3.4-dev8-42 - 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" />
@@ -696,7 +696,7 @@
696696
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
697697
</p>
698698
<p class="text-right">
699-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/03</b></small>
699+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/04/09</b></small>
700700
</p>
701701
</div>
702702
<!-- /.sidebar -->
@@ -707,7 +707,7 @@
707707
<div class="text-center">
708708
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
709709
<h2>Management Guide</h2>
710-
<p><strong>version 3.4-dev8-35</strong></p>
710+
<p><strong>version 3.4-dev8-42</strong></p>
711711
<p>
712712
<br>
713713

@@ -5849,7 +5849,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13
58495849
<br>
58505850
<hr>
58515851
<div class="text-right">
5852-
HAProxy 3.4-dev8-35 &ndash; Management Guide<br>
5852+
HAProxy 3.4-dev8-42 &ndash; Management Guide<br>
58535853
<small>, </small>
58545854
</div>
58555855
</div>

0 commit comments

Comments
 (0)