commit | aa4e32e10a126ad8370551c9ce0c65882f59d6bc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 29 19:09:48 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 29 19:13:32 2014 +0200 |
tree | 3097acc1ab63fcbf38de54541bc3873ef8b4ac97 | |
parent | 6f0ddca67a0d261886d4e665c241e80243186be0 [diff] |
CLEANUP: acl: cleanup some of the redundancy and spaghetti after last fix This code aims at clearing up the ACL parsing code a bit to make it more obvious what happens in the case of an ACL keyword and what happens in the case of a sample expression. Variables prev_type and cur_type were merged, and ACL keyword processing functions are checked only once. This patch could be backported into 1.5 after the previous patch, in order to keep the code more maintainable.