]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: hq-interop: fix transcoding of wrapping response buffer
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 29 Jun 2026 07:54:22 +0000 (09:54 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 29 Jun 2026 14:04:57 +0000 (16:04 +0200)
commit8bc48dfc1ef9ecb834251c8e0b5dce2e32604410
tree93386de5d35eff92efdf3e9b005f18fd01b9a009
parent9d64d390c8dc9af5f626052d08eeb4a1f2dd5d2e
BUG/MINOR: hq-interop: fix transcoding of wrapping response buffer

The below patch has implemented support for response wrapping in HTTP/0.9
transcoder, similar to what is already performed in HTTP/3.

  1e144c488c612092067e07f18618482c64d33d17
  BUG/MINOR: hq-interop: support response buffer wrapping

However, some bits were incorrectly written and the transcoding would
not be able to handle all of the wrapping data in one pass, despite no
crash possible. This patch fixes these, so that a wrapping response can
be handled in a single pass by the HTTP/0.9 transcoder if there is
enough room in the output HTX buffer.

This should fix github issue #3430.

This should be backported up to 3.3.
src/hq_interop.c