MINOR: channel: implement ci_insert() function
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 8 Aug 2024 15:05:45 +0000 (17:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Sep 2024 16:49:07 +0000 (18:49 +0200)
commitdcfe6118b280c2f21d2a2fd6395fea1088d796f5
treec9915667541cddb3e1de496956c08324b46b2304
parent1038e1517abd397827e7ba65c0cc1d1877cba133
MINOR: channel: implement ci_insert() function

ci_insert() is a function which allows to insert a string <str> of size
<len> at <pos> of the input buffer. This is the equivalent of
ci_insert_line2() but without inserting '\r\n'

(cherry picked from commit b2a8e8731da82b8bbd9dfff6d5a0d71f25a5ee49)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/channel.h
src/channel.c