]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: do not wait after Tx realloc failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Oct 2026 09:22:48 +0000 (11:22 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Oct 2026 09:36:55 +0000 (11:36 +0200)
commit2a058151a873bcc9554ebc53e9cb44da38d9f8fd
treea677b86f2d9ea8c5d75bf8af395a6bff6dce67aa
parent6e4154d1fa45043ef4b6c4a2c7fbcc1f1a0bdd3b
BUG/MINOR: h3: do not wait after Tx realloc failure

The following commit implements for QUIC transcoders a realloc operation
when a smallbuf is not sufficient to encode headers. This is available
via qcc_realloc_stream_txbuf() function.

  0d6112b40b20f9eea0cf38dc304bc1155b673588
  MINOR: mux-quic: retry after small buf alloc failure

However, an alloc failure of this function was considered as a transient
error, with 0 returned in this case. Fix this so that it is now a fatal
error which will trigger the connection closure, which is the correct
handling for memory allocation issues in QUIC MUX layer.

This must be backported up to 3.2. Note that the chunk relative to
h3_req_headers_send() is specific for QUIC backend usage and must only
be picked on 3.3 and above.
src/h3.c