commit | a6c4a48341ce21f57f1b226fa0a047df3472c07e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 28 18:25:24 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 29 14:12:42 2022 +0200 |
tree | 967c9ef2c761bcb2c3e48af9f25ccf7af09c3d37 | |
parent | 04994de6422efa2cb79fbbe3a4b91945bf54bdc8 [diff] |
BUG/MEDIUM: conn-stream: Don't erase endpoint flags on reset Only CS_EP_ERROR flag is now removed from the endpoint when a reset is performed. When a new the endpoint is allocated, flags are preserved. It is the caller responsibility to remove other flags, depending on its need. Concretly, during a connection retry or a L7 retry, we must preserve flags. In tcpcheck and the CLI, we reset flags. This patch is 2.6-specific. No backport needed.