]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-h2: simplify the exit code in h2_rcv_buf()
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2024 15:13:28 +0000 (17:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Oct 2024 14:29:16 +0000 (16:29 +0200)
commita0ed92f3ddcbd69b5760ba4afc92d8f0bd86818a
tree3fefc1aface5b5513a02f1b3874f5bc09581e517
parent3b5ac2b553a757a4e45168f4ee7548af49cb396e
MINOR: mux-h2: simplify the exit code in h2_rcv_buf()

The code used to decide what to tell to the upper layer and when to free
the rxbuf is a bit convoluted and difficult to adapt to dynamic rxbufs.
We first need to deal with memory management (b_free) and only then to
decide what to report upwards. Right now it does it the other way around.

This should not change anything.
src/mux_h2.c