Forum Discussion
iRules seem to be processing out of order.
Hello,
There is many things to take into accounts : - Events are processed in a specific order (CLIENT_ACCEPTED, HTTP_REQUEST, ...) - When you have several irules with the same event (e.g HTTP_REQUEST), the Event content is processed in the order starting at the top in the irule list - You can change the processing order by adding a priority to each event (e.g when HTTP_REQUEST priority 100 {... )
When you have several condratictory commands in a same event (e.g HTTP::respond, HTTP::redirect, ...), you will trigger a tcl error.
You can use "return" command to stop processing within an event
or even use "event disable" to disable the current event for the active connection
or also "event disable HTTP_REQUEST" to disable the HTTP_REQUEST event
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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