]> git.kaiwu.me - haproxy.git/commit
MEDIUM: h3: Use flags of HTX blocks to detect end of message during sending
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 2 Sep 2026 14:04:26 +0000 (16:04 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 18 Sep 2026 15:05:18 +0000 (17:05 +0200)
commitab7bb500a4d6063af26c26644de52706ed0ff7b8
tree18f3b19d034311c719f9d103a51cb897c01f31ca
parent9b1a3215f8b4b2e42a09e80d11503b2cd4ff568b
MEDIUM: h3: Use flags of HTX blocks to detect end of message during sending

When a message is sent, the end of the message is now detected by testing
flags of each HTX blocs. To do the API was slightly changed. The "fin" flag
is not longer set in the main loop in h3_snd_buf() function. Instead, the
flag is set in functions consumming the HTX blocks (h3_req_headers_send,
h3_resp_headers_send...).

H3_SF_SENT_INTERIM flag is no longer tested. An interim message cannot have
EOM set. A BUG_ON() may possibly be added. In addition, the HTX message is
not check for emptiness. Here again a BUG_ON() may be added.
src/h3.c