Hi,

HAProxy 2.6.37 was released on 2026/11/27. It added 101 new commits
after version 2.6.36.

This release contains one major fix for the HTTP/3 stack, described
first. The rest is mostly a maintenance release with a very large number of
bug fixes (31 medium and 57 minor ones), mostly in sync with HAProxy
2.8.33. Most of them were found by automated code review (AI code reports)
and were never observed in the field; they are only mentioned globally at
the end of this announcement. The sections below focus on the issues that
were encountered on real deployments or that change a documented behaviour,
along with one new setting that may be useful to administrators.

* h3: A worker could crash on an incomplete HTTP/3 DATA frame.

  When a DATA frame was received without its payload (only the frame
  header), the HTTP/3 demultiplexer could set an internal "buffer full" flag
  with no data to read, violating an internal consistency check that
  deliberately kills the process to detect unnecessary wakeups. The bug was
  introduced by the fix that made empty DATA frames report the end of the
  message, and exists down to 2.6; upgrading is the only fix. Reported by
  AndyAnh174.

* New setting "unresolvable-server-fqdn" to tolerate broken DNS names.

  A recent fix made HAProxy refuse to start when a server name contains a
  DNS label longer than 63 characters, a configuration that has in fact
  never worked but used to fail silently. Orchestrated deployments may take
  a while to fix this, so the new global directive makes HAProxy warn and
  put the offending server in maintenance mode instead of refusing to
  start. It is only a workaround and must not be left enabled permanently.

* FCGI/H2: fixed leaked backend connections and stalls under buffer
  pressure.

  When the last stream of a backend FCGI connection was detached while the
  mux buffer was busy, the connection could be left out of the idle list: it
  was then never reused nor released, holding a file descriptor until the
  server closed it. Under memory pressure, when buffers could not be
  allocated, the H2 and FCGI multiplexers could also stop making progress
  and wait forever instead of retrying when a buffer became available
  again. Several timeout fixes complete the series: idle backend H2
  connections now have their timeout refreshed before being parked (they
  could be closed prematurely or linger), and FCGI connections with pending
  data are no longer parked as idle after a client abort. An H2 tunnel to a
  backend is no longer aborted on informational responses (1xx).

* QUIC: fixed a 100% CPU spin.

  A QUIC listener that could not accept anymore (maxconn or rate limit
  reached) kept its accept tasklet spinning, using 100% of a thread until
  the listener was resumed.

* DNS/resolvers: fixed connection leaks with unresponsive TCP
  nameservers.

  With a DNS-over-TCP nameserver, every 4 queries that expired without a
  response leaked the session and its connection, without limit: the
  sessions were never reused nor released. On the configuration side,
  servers sharing an SRV record with different resolvers sections are now
  rejected, as this silently ignored the second section's settings and could
  corrupt its internal lists. The per-nameserver "timeout" counter reported
  by "show resolvers" and Prometheus was never incremented since its
  introduction in 1.6; it now counts again the nameservers that did not
  answer in time.

* Peers/stick-tables: fixed table sync and oversized keys.

  The CLI command "set table <table>" without any key or data argument
  silently cleared the whole table instead of reporting a usage error.  A
  received key longer than a buffer is now trimmed instead of corrupting the
  message.

* Lua: fixed a crash in Lua filters and a reversed channel append().

  A close was no longer propagated while a filter was waiting on a channel:
  a complete response held by a Lua filter could previously be lost when the
  server closed early. The channel append() function also inserts at the end
  of the buffer again, not at the start.

* SSL CLI: a CA/CRL commit interrupted by another command no longer
  leaves the SSL transaction in an inconsistent state.

* Cache: fixed the handling of the Age header.

  Responses carrying "Age: 0", as commonly emitted by an upstream cache or
  CDN, were never stored, so all requests for them reached the servers.  The
  max-age lifetime is now reduced by the response's Age as required by RFC
  9111: previously a response received with "max-age=3" and "Age: 2" was
  kept fresh for its full 3 seconds and served stale. The Age header is also
  kept in the forwarded response, null lifetimes are recognized whatever
  their spelling, and null qvalues with decimals in Accept-Encoding no
  longer disable caching of compressed variants.

* Maps and ACLs: fixed several parsing issues reported in the field.

  Lines longer than 16KB in map and ACL files were silently split into
  several entries, without any warning. Matching a regex against an empty
  string, e.g. "req.body" on a request without a body, crashed the process
  with the default regex engine. A map or ACL file pattern longer than 4095
  bytes could match on a truncated prefix instead of the full string.

* All the other fixes: as in 2.8.33, the large majority of the remaining
  commits address defects found by automated code reports (AI-assisted code
  review), which were not reported by users and in most cases could only be
  triggered by malformed configuration keywords or protocol violations. They
  include out-of-bounds reads in the MySQL health-check parser, stricter
  validation of many fetch and converter arguments (payload, stick counters,
  varints, DNS fields, JWT tokens), HTTP/2 and HTTP/3 protocol conformance
  checks, and memory leaks and crashes on error paths of the QUIC stack and
  the SSL CLI. They are all listed in the changelog below.

Thanks everyone for your help on this release.

Please find the usual URLs below :
   Site index       : https://www.haproxy.org/
   Documentation    : https://docs.haproxy.org/
   Wiki             : https://github.com/haproxy/wiki/wiki
   Discourse        : https://discourse.haproxy.org/
   Slack channel    : https://slack.haproxy.org/
   Issue tracker    : https://github.com/haproxy/haproxy/issues
   Sources          : https://www.haproxy.org/download/2.6/src/
   Git repository   : https://git.haproxy.org/git/haproxy-2.6.git/
   Git Web browsing : https://git.haproxy.org/?p=haproxy-2.6.git
   Changelog        : https://www.haproxy.org/download/2.6/src/CHANGELOG
   Dataplane API    : 
https://github.com/haproxytech/dataplaneapi/releases/latest
   Pending bugs     : https://www.haproxy.org/l/pending-bugs
   Reviewed bugs    : https://www.haproxy.org/l/reviewed-bugs
   Code reports     : https://www.haproxy.org/l/code-reports
   Latest builds    : https://www.haproxy.org/l/dev-packages


---
Complete changelog :
Aleksandar Lazic (1):
      BUG/MINOR: http-ana: call the http_reset filter callback on L7 retries

Amaury Denoyelle (4):
      BUG/MINOR: ncbuf/test: remove unnecessary delay in random insert
      BUG/MINOR: h3: reject reserved HTTP/2 frame types
      REGTESTS: tcp-check-ssl: also support errno reporting on second test
      BUG/MAJOR: h3: prevent demux full BUG_ON() crash with incomplete DATA

Chris Staite (1):
      BUG/MINOR: ssl/ckch: free the new instance when ckch_inst_rebuild() fails

Christopher Faulet (34):
      BUG/MEDIUM: mux-h2: consider the send list as pending data for the timeout
      BUG/MINOR: mjson: fix out-of-bounds reads on malformed JSON paths
      BUG/MEDIUM: resolvers: skip the data of ignored additional records
      BUG/MINOR: resolvers: reject a null or negative resolve_retries value
      BUG/MINOR: resolvers: reject null "timeout resolve" and "timeout retry" 
values
      BUG/MINOR: resolvers: preserve nameserver identity on "clear counters all"
      BUG/MINOR: resolvers: don't dump a nameserver twice in "show resolvers"
      BUG/MINOR: resolvers: count nameserver timeouts
      BUG/MEDIUM: resolvers: reject servers sharing an SRV record with 
different resolvers
      BUG/MINOR: resolvers: check the SRV expiration date again under the lock
      BUG/MEDIUM: resolvers: properly skip root-named authority and additional 
records
      BUG/MINOR: resolvers: compute a name's wire length by walking its labels
      BUG/MINOR: tcpcheck: fix out-of-bounds reads on short MySQL error packets
      BUG/MINOR: cache: do not refuse to store responses with "Age: 0"
      BUG/MINOR: cache: do not remove the Age header from the forwarded response
      BUG/MINOR: cache: recognize null qvalues with decimals in Accept-Encoding
      BUG/MINOR: cache: reduce the max-age lifetime by the response's Age
      BUG/MINOR: cache: compare the Age to the heuristic lifetime when none is 
given
      BUG/MINOR: cache: do not ignore null lifetimes not written as "max-age=0"
      REGTESTS: cache: cover the object lifetime with a single script
      BUG/MEDIUM: filters: Don't propagate a close while a filter waits on a 
channel
      BUG/MINOR: cache: skip already resolved filters when resolving caches
      BUG/MINOR: tcpcheck: fix out-of-bounds read on the MySQL server version
      BUG/MINOR: vars: fix missing string termination in get var on too long 
values
      BUG/MINOR: lua: channel: append() must insert data at the end, not at the 
start
      BUG/MINOR: payload: distcc_body must not sample unreceived buffer bytes
      BUG/MEDIUM: stconn: Do not install an applet on a busy stream connector
      BUG/MINOR: resolvers: warn about ignored arguments on datagram nameservers
      REGTESTS: tcp-check-ssl: tolerate an errno info in the SSL handshake 
failure
      BUG/MEDIUM: mux-h2: refresh the connection timeout before parking it idle
      BUG/MEDIUM: mux-fcgi: arm the connection timeout only when data remains
      MINOR: mux-fcgi: don't add a closed connection to an idle list on detach
      BUG/MEDIUM: mux-h2: also consider the fctl_list as pending data for the 
timeout
      BUG/MEDIUM: mux-fcgi: put BE conn back in idle list after deferred shut

Dinko Korunic (2):
      BUG/MEDIUM: payload: reject out-of-range payload and payload_lv arguments
      BUG/MINOR: payload: also encode an absolute payload_lv offset2

Dongwon Jang (2):
      MINOR: tools: add read_line_to_mem() to read a line into a growing buffer
      BUG/MINOR: pattern: don't rely on the trash size to read pattern files

Frederic Lecaille (9):
      BUG/MINOR: peers: forget the appctx when the peer session init fails
      BUG/MINOR: peers: don't lose the peer's version when the hello is 
fragmented
      BUG/MINOR: peers: reject over-long varints in intdecode()
      BUG/MINOR: peers: compare the received expiration date as unsigned
      BUG/MINOR: peers: forget the remote table when ignoring an unknown key 
type
      BUG/MEDIUM: peers: bound stick-table update messages
      BUG/MEDIUM: peers: bound stick-table switch messages
      BUG/MINOR: peers: bound stick-table acknowledge messages
      BUG/MINOR: quic/ssl: report SSL_CTX allocation failure

Gihyeon Ryu (2):
      BUG/MINOR: sample: reject a \0 byte in raw string fetches
      BUG/MEDIUM: sample: parse json_query integers within the token length

Kelly Kane (1):
      BUG/MEDIUM: mux-fcgi: avoid out-of-bounds path decoding

Lukas Tribus (1):
      DOC: minor: update VTest2 URL everywhere

Martin Mirchev (11):
      BUG/MINOR: cfgparse-listen: reject negative capture lengths
      BUG/MINOR: stick-table: reject negative stick counter IDs in sc-* actions
      BUG/MINOR: connection: check the NetScaler CIP header length against 
received data
      BUG/MINOR: connection: check the IP header length in NetScaler CIP
      BUG/MINOR: httpclient/lua: fix stack overread when copying the headers
      BUG/MINOR: httpclient/lua: raise an error on too many request headers
      BUG/MINOR: tcpcheck: check the number of "hdr" in http-check send
      BUG/MINOR: stick-table: reject invalid gpc/gpt array indexes
      BUG/MINOR: sample: do not parse compressed gRPC messages in ungrpc
      BUG/MINOR: resolvers: reject DNS messages without the QR bit
      BUG/MINOR: mqtt: reject invalid CONNECT flags and MQTT 3.1.1 CONNACK 
return codes

Olivier Houchard (15):
      BUG/MEDIUM: stick-tables/cli: "set table" without key must not clear the 
table
      BUG/MEDIUM: mux-h2: don't abort a tunnel attempt on interim responses
      REGTESTS: http-messaging: check that 1xx don't abort H2 backend tunnels
      BUG/MEDIUM: dns: release the session slot of expired TCP queries
      MINOR: peers: move message length constants to peers-t.h
      BUG/MEDIUM: stick-table: fix the peers overhead in proto_size
      BUG/MEDIUM: peers: trim received string keys to fit in a buffer
      BUG/MEDIUM: mux-h2: don't stall on a failed rxbuf alloc without stream
      BUG/MINOR: map: split "add map/acl" payload keys on line breaks
      BUG/MEDIUM: mux-h2: reject non-101 2xx responses to Extended CONNECT
      BUG/MEDIUM: mjson: stop the lookup when the matched element ends
      BUG/MEDIUM: mjson: decode the escaped slash in strings
      BUG/MEDIUM: quic: do not spin on the accept tasklet of a blocked listener
      DOC: config: mention the nesting limit of the json_query() converter
      BUG/MEDIUM: ssl/cli: reset the transaction on interrupted CA/CRL commits

Remi Tricot-Le Breton (1):
      BUG/MINOR: jwt: enforce the ECDSA signature length in jwt_verify

Turhan ACAR (1):
      BUG/MINOR: h2: reject :protocol pseudo-header in H2 responses

William Lallemand (2):
      BUG/MINOR: errors: reset diagnostic buffers after thread cleanup
      BUG/MINOR: ssl/cli: use the right list member in "add ssl crt-list" 
release

Willy Tarreau (14):
      BUG/MINOR: resolvers: display the template name instead of "server 
'(null)'"
      MEDIUM: server: add a global setting "unresolvable-server-fqdn"
      BUG/MINOR: ist: make ist_find_range() accept non-zero min boundaries
      BUG/MEDIUM: mux-h2: always return already allocated buffers in 
h2_get_buf()
      BUG/MEDIUM: mux-h2: wake the connection up after a delayed mbuf allocation
      BUG/MEDIUM: mux-h2: serve all pending buffer allocations in the buffer 
callback
      BUG/MEDIUM: mux-h2: don't send RST_STREAM for backend streams whose 
HEADERS were not sent
      BUG/MINOR: mux-h2: only convert GET upgrade requests to Extended CONNECT
      BUG/MINOR: acl: check the presence of an argument to "-u"
      SCRIPTS: create-release: do not match the word "version" isolated
      BUG/MINOR: intops: reject varints that do not fit in 64 bits in 
decode_varint()
      BUG/MEDIUM: pattern: check for non-empty string before matching regexes
      BUG/MINOR: pattern: do not index too large strings using the tree
      REGTESTS: converter: serve the two sha2 requests on one connection

--
Christopher Faulet



Reply via email to