]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: httpclient-cli: Reset httpclient HTX buffer instead of removing blocks
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Jul 2025 13:18:46 +0000 (15:18 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Jul 2025 10:13:42 +0000 (12:13 +0200)
commitd05ff904bf13ee3ee5c954a25c10fc752381352f
tree7a31803e2d8e51bb6abc0ffb832774454fa72aed
parent1741bc4bf0f8bb5014b37e44b98d23664b0ec5b9
MINOR: httpclient-cli: Reset httpclient HTX buffer instead of removing blocks

In the CLI I/O handler interacting with the HTTP client, in HTX mode, after
a dump of the HTX message, data must be removed. Instead of removng all
blocks one by one, we can call htx_reset() because all the message must be
flushed.
src/httpclient_cli.c