Hi,
HAProxy 2.2.8 was released on 2021/01/13. It added 10 new commits after
version 2.2.7.
The changelog for this release is the same than the 2.3.4. Thus, here is the
cut-paste of the 2.3.4 announce.
This new version is released less a week after the previous one to fix a
regression in the DNS part causing crashes. The commit 45b6d2 ("BUG/MINOR:
dns: SRV records ignores duplicated AR records") was reverted, waiting for a
better way to fix the bug it tried to address.
Otherwise, a bug in the tcp-checks was fixed, causing a crash when a server
is erroneously defined in a frontend section. It is not supported and
unexpected. But till now, only a warning is emitted when that happens. Now,
all checks are ignored for such servers.
Jérôme also fixed a bug about the "strict-limits" global option when it is
used in conjunction with master-worker. With this option, when a setrlimit
fails, HAproxy must always exit. But it was only done when the master-worker
mode wasn't used. It now works as expected.
The Prometheus exporter was improved, thanks to William Dauchy. The
"Connection: close" header is no longer added in the exporter
response. Thus, the client connection is no longer systematically closed
after a request to the exporter. And internally, the process metrics are now
filled using the stats API. That removes unnecessary duplicated code and
makes the exporter more maintainable.
Finally, a memory leak was fixed by Rémi on the error path of the sample
expression parser and allocation failures are now handled when the concat()
converter is called.
To conclude, if you are running the 2.2.7, you must upgrade, especially if
you are using the DNS or if you plan to use it.
Please find the usual URLs below :
Site index : http://www.haproxy.org/
Discourse : http://discourse.haproxy.org/
Slack channel : https://slack.haproxy.org/
Issue tracker : https://github.com/haproxy/haproxy/issues
Wiki : https://github.com/haproxy/wiki/wiki
Sources : http://www.haproxy.org/download/2.2/src/
Git repository : http://git.haproxy.org/git/haproxy-2.2.git/
Git Web browsing : http://git.haproxy.org/?p=haproxy-2.2.git
Changelog : http://www.haproxy.org/download/2.2/src/CHANGELOG
Cyril's HTML doc : http://cbonte.github.io/haproxy-dconv/
---
Complete changelog :
Christopher Faulet (2):
Revert "BUG/MINOR: dns: SRV records ignores duplicated AR records"
BUG/MINOR: check: Don't perform any check on servers defined in a frontend
Jerome Magnin (1):
BUG/MINOR: init: enforce strict-limits when using master-worker
Remi Tricot-Le Breton (1):
BUG/MINOR: sample: Memory leak of sample_expr structure in case of error
William Dauchy (6):
MINOR: reg-tests: add a way to add service dependency
BUG/MINOR: sample: check alloc_trash_chunk return value in concat()
BUG/MINOR: reg-tests: fix service dependency script
MINOR: reg-tests: add base prometheus test
MINOR: contrib/prometheus-exporter: avoid connection close header
MINOR: contrib/prometheus-exporter: use fill_info for process dump
--
Christopher Faulet