Forum Discussion
Jasa_74968
Mar 31, 2014Nimbostratus
Stop processing iRule by referencing a variable
I've set a variable in iRule named "stop_rule_processing" and its value is set to 1 if a particular iRule has a hit:
priority 300
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_w...
IheartF5_45022
Mar 31, 2014Nacreous
You need to ensure the variable is set to 0 if it's not set to 1 - so maybe in CLIENT_ACCEPTED;-
when CLIENT_ACCEPTED {
set stop_rule_processing 0
}
Then in your other iRule you just need to say
if {$stop_rule_processing} {
event disable
return
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects