3.1.17

Latest release in branch 3.1
Released 1 month ago (March 19, 2026)

Software HAProxy
Branch 3.1
Status
End of life
End of life January 01, 2026
First official release version 3.1.0
First official release date 1 year ago (November 26, 2024)
Release notes https://www.haproxy.org/download/3.1/src/CHANGELOG
Source code http://git.haproxy.org/?p=haproxy-3.1.git;a=tree;h=refs/tags/v3.1.17
Download https://www.haproxy.org/download/3.1/
HAProxy 3.1 Releases View full list

What Is New in HAProxy 3.1

HAProxy 3.1 delivers a significant update focused on enhanced security, improved performance, and expanded protocol support. This release introduces new features like native OpenTracing, SOCKS4 support, and important SSL/TLS improvements.

Category Key Changes
New Features Native OpenTracing, SOCKS4 support, New converters, DNS resolution over TCP
Improvements SSL/TLS enhancements, Prometheus exporter, Lua scripting, HTTP/2
Bug Fixes Numerous fixes across the core, HTTP, and SSL components
Deprecated None specified in this release

How does HAProxy 3.1 improve security and SSL/TLS?

The release strengthens security with several SSL/TLS enhancements. It now supports the 'allow-0rtt' TLSv1.3 option for faster connections and includes a new 'ssl_c_chain' keyword to send the intermediate CA chain in the correct order.

This matters because proper chain ordering prevents certificate validation issues with certain clients. The update also fixes a bug where the wrong certificate might be sent for wildcard SNI, which directly improves reliability for multi-domain setups.

What new observability features were added?

Native OpenTracing support is the headline observability feature. You can now use the opentracing keyword in the global section to enable distributed tracing, providing deeper insights into request flows.

The Prometheus exporter also received updates, including a new gauge for the number of active peers and a fix for the server_id label. These changes make it easier to monitor complex, distributed HAProxy deployments effectively.

What new protocol and connectivity options are available?

HAProxy 3.1 adds SOCKS4 support for outbound connections, giving you more flexibility for routing traffic. It also introduces DNS resolution over TCP, which is crucial for handling large DNS responses that exceed the typical UDP packet size.

For HTTP/2, the release fixes several bugs, including one related to handling large DATA frames. This improves stability and performance for modern HTTP/2 traffic, which is now the standard for many web applications.

What enhancements were made for configuration and data manipulation?

New converters like utf8s2u, u8, and hex were added, expanding the ways you can manipulate data within the HAProxy configuration. The lua-prepend-path global directive was also introduced for better managing Lua module paths.

In practice, these new tools give you more power to write complex routing and content transformation rules directly in your config, reducing the need for external processing scripts.

FAQ

Does HAProxy 3.1 support TLS 1.3 0-RTT (Zero Round Trip Time Resumption)?
Yes, it does. You can now enable it using the 'allow-0rtt' option for a bind line configured for TLSv1.3, which can reduce latency for returning clients.

I use wildcard certificates. Was there a fix for SNI matching?
Absolutely. A bug was fixed where the wrong certificate could be selected for a wildcard SNI if a previous exact match existed. This ensures the correct certificate is always served.

Can HAProxy now resolve DNS over TCP?
Yes, this release adds support for DNS resolution over TCP. This is essential for handling large DNS responses that wouldn't fit in a single UDP packet, preventing resolution failures.

What is the new 'ssl_c_chain' keyword used for?
The ssl_c_chain keyword is used to send the intermediate Certificate Authority chain in the correct order. This helps avoid client-side certificate validation errors that can occur with misordered chains.

Is OpenTracing built into HAProxy now?
Yes, native OpenTracing support was added. You can enable it with the opentracing global directive to integrate with distributed tracing systems for better observability.

Releases In Branch 3.1

Version Release date
3.1.17 1 month ago
(March 19, 2026)
3.1.16 1 month ago
(March 09, 2026)
3.1.15 2 months ago
(February 19, 2026)
3.1.14 2 months ago
(February 12, 2026)
3.1.13 2 months ago
(January 29, 2026)
3.1.12 4 months ago
(December 22, 2025)
3.1.11 4 months ago
(December 17, 2025)
3.1.10 5 months ago
(November 07, 2025)
3.1.9 6 months ago
(October 03, 2025)
3.1.8 10 months ago
(June 02, 2025)
3.1.7 1 year ago
(April 17, 2025)
3.1.6 1 year ago
(March 20, 2025)
3.1.5 1 year ago
(February 20, 2025)
3.1.4 1 year ago
(February 19, 2025)
3.1.3 1 year ago
(January 29, 2025)
3.1.2 1 year ago
(January 08, 2025)
3.1.1 1 year ago
(December 11, 2024)
3.1.0 1 year ago
(November 26, 2024)
3.1-dev14 1 year ago
(November 21, 2024)
3.1-dev13 1 year ago
(November 15, 2024)
3.1-dev12 1 year ago
(November 08, 2024)
3.1-dev11 1 year ago
(November 01, 2024)
3.1-dev10 1 year ago
(October 16, 2024)
3.1-dev9 1 year ago
(October 03, 2024)
3.1-dev8 1 year ago
(September 18, 2024)
3.1-dev7 1 year ago
(September 05, 2024)
3.1-dev6 1 year ago
(August 21, 2024)
3.1-dev5 1 year ago
(August 07, 2024)
3.1-dev4 1 year ago
(July 24, 2024)
3.1-dev3 1 year ago
(July 10, 2024)
3.1-dev2 1 year ago
(June 29, 2024)
3.1-dev1 1 year ago
(June 14, 2024)
3.1-dev0 1 year ago
(May 29, 2024)