commit | 5085bc3103e5a52f0d8909d13a6e36d24d2a6562 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Feb 17 12:52:09 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Feb 17 12:59:52 2022 +0100 |
tree | 9d72968180eda1b14f5db814552841385bc6f3f0 | |
parent | d0de6776826ee18da74e6949752e2f44cba8fdf2 [diff] |
BUG/MINOR: httpclient: reinit flags in httpclient_start() When starting for the 2nd time a request from the same httpclient *hc context, the flags are not reinitialized and the httpclient will stop after the first call to the IO handler, because the END flag is always present. This patch also add a test before httpclient_start() to ensure we don't start a client already started. Must be backported in 2.5.