Forum Discussion
Russell_E_Glaue
Nimbostratus
Feb 18, 2009How to disable iRule processing on keep-alive per request when using HTTP::respond
How to disable iRule processing on keep-alive per request when using HTTP::respond
Okay, I have encountered a problem I cannot figure out how to get around.
Here ...
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.
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
