Aurelien DARRAGON e768a531b7 CLEANUP: tree-wide: define and use acl_match_cond() helper
acl_match_cond() combines acl_exec_cond() + acl_pass() and a check on the
condition->pol (to check if the cond is inverted) in order to return
either 0 if the cond doesn't match or 1 if it matches (or NULL).

Thanks to this we can actually simplify some redundant constructs that
iterate over rules and evaluate if the condition matches or not.

Conditions for tcp-request inspect-content and tcp-response
inspect-content couldn't be simplified because they perform an extra
check for missing data, and thus still need to leverage acl_exec_cond()

It's best to display the patch using "-w", like "git show xxxx -w",
because some blocks had to be re-indented after the cleanup, which
makes the patch hard to review by default.
2025-01-27 11:11:43 +01:00
..
2023-08-01 10:49:06 +02:00
2023-04-13 16:57:51 +02:00
2024-04-05 15:40:42 +02:00
2024-05-16 10:31:17 +02:00
2024-11-29 07:22:32 +01:00
2022-04-22 15:45:47 +02:00
2024-12-10 16:04:11 +01:00
2024-12-10 16:04:11 +01:00
2022-11-29 15:14:39 +01:00
2024-10-24 16:12:46 +02:00
2024-12-12 11:19:10 +01:00
2024-07-12 15:27:04 +02:00
2024-08-07 15:40:52 +02:00