commit | 156852b613596bdbf8fb67edc6e736d496c89a92 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu May 16 11:29:13 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 28 07:42:12 2019 +0200 |
tree | e39e49b9ed1408d3f5323b801246ea11be0cf46a | |
parent | 2ae35045e2910074ad1c540efd3b70afe4407ae9 [diff] |
BUG/MINOR: htx: Change htx_xfer_blk() to also count metadata This patch makes the function more accurate. Thanks to the function htx_get_max_blksz(), the transfer of data has been simplified. Note that now the total number of bytes copied (metadata + payload) is returned. This slighly change how the function is used in the H2 multiplexer.