]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sample: Get chunks with a size dependent on input data when necessary
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Feb 2026 10:15:02 +0000 (11:15 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 12:26:21 +0000 (13:26 +0100)
commitdfc40854138b4d4a1e8a6094f5a0f1cca3cc1f39
tree76dcf7b624a2d39d4fa526ea5f6c358cbc455b1c
parentbd25c630678a8ab605b944706b516d4a209d7240
MEDIUM: sample: Get chunks with a size dependent on input data when necessary

The function used to duplicate a sample was update to support large buffers. In
addition several converters were also reviewed to deal with large buffers. For
instance, base64 encoding and decoding must use chunks of the same size than the
sample. For some of them, a retry is performed to enlarge the chunk is possible.

TODO: Review reg_sub, concat and add_item to get larger chunk if necessary
src/http_conv.c
src/sample.c