commit | f7ea50931909ccb3df939ab7ff1b1e5c24c295ce | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 19 17:47:18 2021 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Nov 23 15:31:41 2021 +0100 |
tree | c97dd19d641d37be70c4959341ef45de1bcb212f | |
parent | 4c98c072ff0a7c0dc7778264d838a99b36369fd9 [diff] |
MINOR: shctx: add a few BUG_ON() for consistency checks The shctx code relies on sensitive conditions that are hard to infer from the code itself, let's add some BUG_ON() to verify them. They helped spot the previous bugs. (cherry picked from commit 48b608026b7c0d55a55b9746179542c7d524e84a) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>