Willy Tarreau
3c3dfd5c61
MINOR: acl: add a warning when an ACL keyword is used without any value
...
It's quite common to write directives like the following :
tcp-request reject if WAIT_END { sc0_inc_gpc0 }
This one will never reject, because sc0_inc_gpc0 is provided no value
to compare against. The proper form should have been something like this :
tcp-request reject if WAIT_END { sc0_inc_gpc0 gt 0 }
or :
tcp-request reject if WAIT_END { sc0_inc_gpc0 -m found }
Now we detect the absence of any argument on the command line and emit
a warning suggesting alternatives or the use of "--" to really avoid
matching anything (might be used when debugging).
2013-11-04 18:12:20 +01:00
..
2013-11-04 18:12:20 +01:00
2012-10-29 16:57:30 +01:00
2013-04-03 02:13:02 +02:00
2012-05-10 23:25:35 +02:00
2013-08-01 21:17:13 +02:00
2010-10-30 19:04:33 +02:00
2012-12-17 01:14:49 +01:00
2013-08-13 17:19:08 +02:00
2012-10-26 01:08:01 +02:00
2013-09-23 08:49:50 +02:00
2012-12-23 21:46:07 +01:00
2013-08-01 21:17:13 +02:00
2013-09-03 09:08:31 +02:00
2012-10-05 22:18:07 +02:00
2013-08-13 16:50:32 +02:00
2013-01-18 15:31:03 +01:00
2012-12-14 00:17:03 +01:00
2013-03-31 15:01:01 +02:00
2013-03-31 15:01:05 +02:00
2012-11-12 01:57:14 +01:00
2012-12-29 21:50:07 +01:00
2013-08-01 21:17:13 +02:00
2013-05-01 10:09:30 +02:00
2013-10-06 13:34:09 +02:00
2011-10-24 18:15:04 +02:00
2012-10-08 20:11:03 +02:00
2013-04-12 14:46:51 +02:00
2012-04-07 09:08:45 +02:00
2013-07-22 09:29:34 +02:00
2013-08-13 16:15:08 +02:00
2013-08-01 21:17:13 +02:00
2013-08-31 08:02:09 +02:00
2012-05-08 21:28:16 +02:00
2013-09-11 23:28:51 +02:00
2013-10-30 08:12:26 +01:00
2011-10-24 17:09:22 +02:00
2013-10-23 12:26:50 +02:00
2013-10-30 19:29:21 +01:00
2013-03-11 01:30:01 +01:00
2012-09-15 22:29:32 +02:00
2013-09-04 17:54:01 +02:00
2012-11-12 00:42:33 +01:00
2013-07-22 09:31:55 +02:00
2013-10-14 14:42:50 +02:00
2013-08-01 21:17:13 +02:00
2013-02-13 10:59:50 +01:00
2013-10-30 07:59:03 +01:00
2013-04-26 19:15:52 +02:00
2013-01-24 16:19:19 +01:00
2013-10-10 11:33:27 +02:00
2013-10-23 12:26:50 +02:00
2013-09-04 17:54:01 +02:00
2013-10-12 07:53:33 +02:00
2011-09-10 20:08:49 +02:00
2012-12-29 21:50:07 +01:00
2012-05-26 00:12:37 +02:00
2013-01-24 16:19:19 +01:00