Merge pull request #2564 from fraenki/haproxy_360

net/haproxy: release 3.6
This commit is contained in:
Frank Wall
2021-10-10 22:58:55 +02:00
committed by GitHub
5 changed files with 20 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= haproxy
PLUGIN_VERSION= 3.5
PLUGIN_VERSION= 3.6
PLUGIN_COMMENT= Reliable, high performance TCP/HTTP load balancer
PLUGIN_DEPENDS= haproxy22
PLUGIN_MAINTAINER= opnsense@moov.de
+11
View File
@@ -6,6 +6,17 @@ very high loads while needing persistence or Layer7 processing.
Plugin Changelog
================
3.6
Added:
* add support for advanced resolver properties (#2330)
Fixed:
* no haproxy.conf after restoring a config backup (#2474)
Changed:
* deploy haproxy.conf if it does not exist (#2474)
3.5
Fixed:
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# fallback if no config file exists (i.e. after config backup restore)
if [ ! -e /usr/local/etc/haproxy.conf -a -e /usr/local/etc/haproxy.conf.staging ]; then
cp /usr/local/etc/haproxy.conf.staging /usr/local/etc/haproxy.conf
/usr/local/etc/rc.d/haproxy start
fi
@@ -88,7 +88,7 @@
</field>
<field>
<id>resolver.hold_timeout</id>
<label>Valid hold time</label>
<label>Timeout hold time</label>
<type>text</type>
<help><![CDATA[When a DNS resolve request times out haproxy will not retry until [hold timeout] elapses. Default "30s"]]></help>
<advanced>true</advanced>
@@ -2755,44 +2755,37 @@
<Required>N</Required>
</timeout_retry>
<accepted_payload_size type="IntegerField">
<default>512</default>
<MinimumValue>0</MinimumValue>
<MaximumValue>8192</MaximumValue>
<ValidationMessage>Should be a number between 0 and 8192</ValidationMessage>
<Required>N</Required>
</accepted_payload_size>
<hold_valid type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>
</hold_valid>
<hold_obsolete type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>
</hold_obsolete>
<hold_refused type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>
</hold_refused>
<hold_nx type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>
</hold_nx>
<hold_timeout type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>
</hold_timeout>
<hold_other type="TextField">
<default>10s</default>
<mask>/^([0-9]{1,8}(?:us|ms|s|m|h|d)?)/u</mask>
<ValidationMessage>Should be a number between 1 and 8 characters, optionally followed by either "d", "h", "m", "s", "ms" or "us".</ValidationMessage>
<Required>N</Required>