MINOR: httpclient: add the EOH when no headers where provided
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 20 Sep 2021 14:19:15 +0000 (16:19 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 20 Sep 2021 14:24:54 +0000 (16:24 +0200)
commit79a3478c24ab0aa4e854e9225527a8cae4938a3d
treee376179dae1f44f4c5c6269814532aa0ce1af2a6
parenta8018eb470f3299d1658abdd2ba1a1d0091ca8e8
MINOR: httpclient: add the EOH when no headers where provided

httpclient_req_gen() now adds the end of headers block when no header
was provided, which avoid adding it manually.
src/http_client.c