]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: make the send() function iterate over all mux buffers
authorWilly Tarreau <w@1wt.eu>
Sun, 26 May 2019 07:49:17 +0000 (09:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 May 2019 08:52:25 +0000 (10:52 +0200)
commit41c4d6a2c539c5f454a42ffe91e7251202526a46
tree5be4153342e803bda7cca0952a6c8571ced393e8
parent2e3c000c1c955559e99fcefe52270c9dd2097f80
MEDIUM: mux-h2: make the send() function iterate over all mux buffers

Now send() uses a loop to iterate over all buffers to be sent. These
buffers are released and deleted from the vector once completely sent.
If any buffer gets released, offer_buffers() is called to wake up some
waiters.
src/mux_h2.c