]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: httpclient: don't send an empty body
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 14 Jan 2022 13:08:34 +0000 (14:08 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 14 Jan 2022 17:10:43 +0000 (18:10 +0100)
commite1e045f4d71f85462414d048449c9307886f7c36
tree93d2acf0983fb3f812049df029e99c786be18140
parentb9e3fb7315e32cee678d3635f715de65b6c53fae
BUG/MINOR: httpclient: don't send an empty body

Forbid the httpclient to send an empty chunked client when there is no
data to send. It does happen when doing a simple GET too.

Must be backported in 2.5.
src/http_client.c