]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1-htx: Split function to parse a chunk and the loop on the buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 May 2021 08:56:24 +0000 (10:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 25 May 2021 08:41:50 +0000 (10:41 +0200)
commit0d4c924c34c3f6affed4538c489657eec32decb7
treee523cdc3caf1eff1e0969b0509081343754732a4
parent140691baf983535a8cc70cfebbf3732c77e5177c
MEDIUM: h1-htx: Split function to parse a chunk and the loop on the buffer

A generic function is now used to only parse the current chunk (h1_parse_chunk)
and the main one (h1_parse_msg_chunks) is used to loop on the buffer and relies
on the first one. This change is mandatory to be able to use an optimized
function to parse contiguous small chunks.
src/h1_htx.c