net/haproxy: remove deprecated option tune.chksize (#2644)

This commit is contained in:
Frank Wall
2022-01-19 22:16:58 +01:00
parent f591681ff7
commit d5e60e9f77
4 changed files with 3 additions and 17 deletions
+3
View File
@@ -14,6 +14,9 @@ which may result in incompatible changes for some users.
Changed:
* upgrade to HAProxy 2.4 release series (#2644)
Removed:
* remove deprecated option tune.chksize (#2644)
3.9
Added:
@@ -48,13 +48,6 @@
<help><![CDATA[Change the buffer size (in bytes). Lower values allow more sessions to coexist in the same amount of RAM, and higher values allow some applications with very large cookies to work. The default value is 16384. <br/><div class="text-info"><b>NOTE:</b> It is strongly recommended not to change this from the default value, as very low values will break some services such as statistics, and values larger than default size will increase memory usage, possibly causing the system to run out of memory.</div>]]></help>
<advanced>true</advanced>
</field>
<field>
<id>haproxy.general.tuning.checkBufferSize</id>
<label>Health check buffer size</label>
<type>text</type>
<help><![CDATA[Change the check buffer size (in bytes). Higher values may help find string or regex patterns in very large pages, though doing so may imply more memory and CPU usage. The default value is 16384.]]></help>
<advanced>true</advanced>
</field>
<field>
<id>haproxy.general.tuning.luaMaxMem</id>
<label>Maximum RAM per LUA process</label>
@@ -109,13 +109,6 @@
<ValidationMessage>Please specify a value between 1024 and 1048576.</ValidationMessage>
<Required>N</Required>
</bufferSize>
<checkBufferSize type="IntegerField">
<default>16384</default>
<MinimumValue>1024</MinimumValue>
<MaximumValue>1048576</MaximumValue>
<ValidationMessage>Please specify a value between 1024 and 1048576.</ValidationMessage>
<Required>N</Required>
</checkBufferSize>
<spreadChecks type="IntegerField">
<default>2</default>
<MinimumValue>0</MinimumValue>
@@ -975,9 +975,6 @@ global
{% if OPNsense.HAProxy.general.tuning.bogusProxyEnabled|default("") == '1' %}
pp2-never-send-local
{% endif %}
{% if OPNsense.HAProxy.general.tuning.checkBufferSize|default("") != "" %}
tune.chksize {{OPNsense.HAProxy.general.tuning.checkBufferSize}}
{% endif %}
{% if OPNsense.HAProxy.general.tuning.bufferSize|default("") != "" %}
tune.bufsize {{OPNsense.HAProxy.general.tuning.bufferSize}}
{% endif %}