commit | 2056736453e1ce47418cdcb007db1dbdf603761e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri May 15 14:52:49 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed May 20 18:27:14 2020 +0200 |
tree | de5cab4b1f23c61764a4dd123f7476ca641f0460 | |
parent | f1fedc3ccec1dc0925e1b07b4238aad27116976c [diff] |
MINOR: htx: Add a function to copy a buffer in an HTX message The htx_copy_msg() function can now be used to copy the HTX message stored in a buffer in an existing HTX message. It takes care to not overwrite existing data. If the destination message is empty, a raw copy is performed. All the message is copied or nothing. This function is used instead of channel_htx_copy_msg().