Stable Release in branch 2.4 (LTS)
2.4.31
Released 09 Mar 2026
(4 months ago)
SoftwareHAProxy
Version2.4 (LTS)
StatusLTS
End of life
Initial release2.4.0
14 May 2021
(5 years ago)
Latest release2.4.31
09 Mar 2026
(4 months ago)
End of life01 Apr 2026
(Ended 3 months ago)
Release noteshttps://www.haproxy.org/download/2.4/src/CHANGELOG
Source codehttp://git.haproxy.org/?p=haproxy-2.4.git;a=tree;h=refs/tags/v2.4.31
Downloadhttps://www.haproxy.org/download/2.4/
HAProxy 2.4 (LTS) ReleasesView full list

What Is New in HAProxy 2.4

HAProxy 2.4 introduces significant enhancements in security, performance, and cloud-native integration. This release focuses on modernizing the load balancer for dynamic environments with new features and critical updates.

Category Key Changes
New Features HTTPS DNS over QUIC, Log to STDERR, FastCGI App Support, Prometheus Exporter
Improvements HTTP Connection Management, HPACK Encoder, Server Queue Priority, SSL/TLS Offloading
Bug Fixes Memory Management, Connection Handling, ACL and Map File Reloads
Deprecated SSL/TLSv1.0 and v1.1, certain keywords and options

How does HAProxy 2.4 improve DNS resolution?

HAProxy 2.4 adds support for DNS over HTTPS (DoH) and DNS over QUIC, moving beyond traditional UDP-based resolution. This allows for encrypted and more reliable DNS queries, which is crucial for traversing restrictive networks. In practice, this means your service discovery is more secure and resilient to interception or packet loss.

What new application protocols are supported?

This version introduces a native FastCGI application server, enabling HAProxy to communicate directly with FastCGI processes like PHP-FPM. You can now use mode fastcgi in a backend to proxy requests, offloading this task from your web servers. This simplifies architectures that rely on FastCGI by integrating the protocol handling into the load balancer layer.

How is observability enhanced in this release?

Observability gets a major boost with a built-in Prometheus exporter. You can now expose metrics in Prometheus format by enabling the new expose-prometheus directive in a frontend or listen section. Additionally, the ability to log to STDERR makes it easier to integrate with containerized logging systems that capture standard output streams.

What performance optimizations were made?

The HPACK encoder for HTTP/2 was rewritten, significantly reducing CPU usage when dealing with HPACK compression. Server queue handling was improved with a new random load-balancing algorithm that prioritizes servers with the shortest queues. These changes matter because they directly reduce latency and improve throughput for HTTP/2 traffic and heavily loaded pools of servers.

Are there any important security deprecations?

Yes, support for the SSLv3, TLSv1.0, and TLSv1.1 protocols has been completely removed to enforce stronger security postures. Furthermore, the nbproc configuration keyword and the allow-0rtt option for TLSv1.3 are now deprecated. You should plan to migrate to TLSv1.2 or higher and use the newer nbthread model.

FAQ

How do I enable the new Prometheus metrics?
Add expose-prometheus to a frontend or listen section and define the URI path. Clients can then scrape metrics from that endpoint in the standard Prometheus format.

Can I use DoH with any DNS provider?
Yes, you can configure the resolvers section to use a dns nameserver with the proto https option pointing to your preferred DoH provider's URL.

What replaces the deprecated nbproc?
You should use the nbthread directive and the thread-based architecture, which has been the preferred model for multi-processing since earlier versions and offers better performance.

Is the FastCGI support a replacement for a web server?
No, it's a proxy feature. It allows HAProxy to forward requests to a FastCGI application process, but it does not serve static files like a traditional web server such as nginx or Apache.

Why was the HPACK encoder rewritten?
The old implementation was inefficient and could become a CPU bottleneck for HTTP/2 traffic. The new encoder is much more performant, reducing CPU load and improving overall throughput.

Releases In Branch 2.4 (LTS)

VersionRelease date
2.4.3109 Mar 2026
(4 months ago)
2.4.3003 Oct 2025
(9 months ago)
2.4.2922 Apr 2025
(1 year ago)
2.4.2808 Nov 2024
(1 year ago)
2.4.2718 Jun 2024
(2 years ago)
2.4.2605 Apr 2024
(2 years ago)
2.4.2514 Dec 2023
(2 years ago)
2.4.2419 Aug 2023
(2 years ago)
2.4.2309 Jun 2023
(3 years ago)
2.4.2214 Feb 2023
(3 years ago)
2.4.2127 Jan 2023
(3 years ago)
2.4.2009 Dec 2022
(3 years ago)
2.4.1928 Sep 2022
(3 years ago)
2.4.1827 Jul 2022
(3 years ago)
2.4.1713 May 2022
(4 years ago)
2.4.1629 Apr 2022
(4 years ago)
2.4.1514 Mar 2022
(4 years ago)
2.4.1425 Feb 2022
(4 years ago)
2.4.1316 Feb 2022
(4 years ago)
2.4.1211 Jan 2022
(4 years ago)
2.4.1107 Jan 2022
(4 years ago)
2.4.1023 Dec 2021
(4 years ago)
2.4.924 Nov 2021
(4 years ago)
2.4.803 Nov 2021
(4 years ago)
2.4.604 Oct 2021
(4 years ago)
2.4.704 Oct 2021
(4 years ago)
2.4.501 Oct 2021
(4 years ago)
2.4.407 Sep 2021
(4 years ago)
2.4.317 Aug 2021
(4 years ago)
2.4.207 Jul 2021
(5 years ago)
2.4.117 Jun 2021
(5 years ago)
2.4.014 May 2021
(5 years ago)
2.4-dev1910 May 2021
(5 years ago)
2.4-dev1801 May 2021
(5 years ago)
2.4-dev1723 Apr 2021
(5 years ago)
2.4-dev1609 Apr 2021
(5 years ago)
2.4-dev1502 Apr 2021
(5 years ago)
2.4-dev1427 Mar 2021
(5 years ago)
2.4-dev1319 Mar 2021
(5 years ago)
2.4-dev1213 Mar 2021
(5 years ago)
2.4-dev1105 Mar 2021
(5 years ago)
2.4-dev1026 Feb 2021
(5 years ago)
2.4-dev920 Feb 2021
(5 years ago)
2.4-dev813 Feb 2021
(5 years ago)
2.4-dev705 Feb 2021
(5 years ago)
2.4-dev622 Jan 2021
(5 years ago)
2.4-dev506 Jan 2021
(5 years ago)
2.4-dev421 Dec 2020
(5 years ago)
2.4-dev311 Dec 2020
(5 years ago)
2.4-dev201 Dec 2020
(5 years ago)
2.4-dev121 Nov 2020
(5 years ago)
2.4-dev005 Nov 2020
(5 years ago)