Forum Discussion
spark_86682
Feb 19, 2009Historic F5 Account
The only better thing I can think of is to do a return if that flag is set.
Something like:
rule first_rule {
when HTTP_REQUEST {
set stop_processing 0
if { $condition } {
HTTP::respond "foo"
set stop_processing 1
}
}
}
rule second_rule {
when HTTP_REQUEST {
if { $stop_processing } {
return
}
do other stuff here
}
}
It looks a bit cleaner, IMO. I think that's about the best you can do.