]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-client: Try to send request body with headers if possible
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Jul 2025 06:16:14 +0000 (08:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Jul 2025 10:13:42 +0000 (12:13 +0200)
commitc08a0dae30c47978bca05cffcda73735f736a5c3
treeeb0b510d745f9e9e9d1b8de5c72a9cfbd045c930
parent96aa251d20d7f3d8b1abf6b2ebea02c0180838af
MINOR: http-client: Try to send request body with headers if possible

There is no reason to yield after sending the request headers, except if the
request was fully sent. If there is a payload, it is better to send it as
well. However, when the whole request was sent, we can leave the I/O handler.
src/http_client.c