]> git.kaiwu.me - haproxy.git/commit
MINOR: hasterm: Change hstream_add_data() to prepare zero-copy data forwarding
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Apr 2026 19:40:31 +0000 (21:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Apr 2026 08:46:15 +0000 (10:46 +0200)
commit2a1afcf39d3fd7babd4fc8eab77391e2ee9ea33c
tree13097abb21ce43480aa26b17bcb93ccc032ab707
parentd89ae36adcdf7fbbb2281ac40a318aa6d30aa821
MINOR: hasterm: Change hstream_add_data() to prepare zero-copy data forwarding

hstream_add_data() function is renamed to hstream_add_htx_data() because
there will be a similar function to add data in zero-copy forwarding
mode. The function was also adapted to take the data length to add in
parameter and to return the number of written bytes.
src/haterm.c