commit | 464fa06e9adbadc0c93fa5866d8fa4f55d69c2eb | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Mar 17 16:09:14 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Mar 17 16:43:51 2023 +0100 |
tree | 83b9126bd5fd7d46cb0126afc2c88acaa86a92ea | |
parent | 88718955f4cef87fcf656b451c7b301ff968938d [diff] |
MINOR: mux-h2: set CO_SFL_MSG_MORE when sending multiple buffers Traces show that sendto() rarely has MSG_MORE on H2 despite sending multiple buffers. The reason is that the loop iterating over the buffer ring doesn't have this info and doesn't pass it down. But now we know how many buffers are left to be sent, so we know whether or not the current buffer is the last one. As such we can set this flag for all buffers but the last one.