commit | a80b22eac4f4893cb603650ce813024d6689f802 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Dec 22 14:49:43 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Dec 22 14:49:43 2022 +0100 |
tree | 0dc15479329f20b7d8e731e00a4513b5199f4ae2 | |
parent | 70601c56da2e720285bfe7e0159eded8168ab66b [diff] |
MINOR: httpclient: don't add body when istlen is empty Don't try to create a request with a body in httpclient_req_gen() if the payload ist has a ptr but no len. Sometimes people have their httpclient stuck because they use an ist with a data ptr but no len. Check the len so this mistake doesn't block the client.