commit | 74a9eb5216641b2b0d4ae6a96906fc4a36a90b6c | [log] [tgz] |
---|---|---|
author | Thierry Fournier <tfournier@arpalert.org> | Mon Oct 10 12:46:38 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Mon Oct 17 12:04:06 2022 +0200 |
tree | 5e9c992627b3124174e16dfa3aaf81ff9b611d93 | |
parent | 47ddc8987979abfd04852c248476ec6010bb01cf [diff] |
BUG/MEDIUM: httpclient: segfault when the httpclient parser fails If the uri is unexpected ("/" in place of "http://xxx/"), some parsing function fails. The failure is not handled. This patch handle these errors. Note: the return code is boolean, maybe we can return more precise error for Lua reporting ? Must be backported in 2.6.