Forum Discussion
uni
Altocumulus
Oct 16, 2006Stop event processing for multiple rules
I have virtuals defined with two rules: one rule which is common to all, and one customised for each virtual. All the rule processing is done within the HTTP_REQUEST event.
Can anyone suggest a si...
Deb_Allen_18
Oct 18, 2006Historic F5 Account
Hi Stephen --
You can issue a conditional TCP::close (at the end of the response in the 2nd rule) to prevent subsequent requests on that connection, or return / event disable (in the relevant events) to prevent processing of all or specific parts of the subsequent iRules.
Either method of connection control would use the following approach: If some specified condition occurs within the first rule, set a variable as a flag in HTTP_REQUEST in the first rule where you are currently using "return" indicating that the condition was seen, then in the second rule, use the value of that variable to control whether the return, event disable, or close is processed.
HTH
/deb
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