Forum Discussion
Enable event Processing after HTTP::respond
Do it last. All iRules can be associated with a priority in the format
when EVENT priority X {
So iRules of the same EVENT type run in priority sequence from 1 to 1000. The default priority when not specified is 500.
Separate out your HTTP::respond to an iRule with a high priority than the rest so the other iRules run first.
when HTTP_REQUEST priority 900 {
HTTP::respond 200 content $my_data
}
- QNetOps_179308Apr 14, 2017
Nimbostratus
I should have been more detailed. Currently our iRule logs during the HTTP_RESPONSE step (so that all the information needed for the logs are available when we are logging a normal response) and the iRule with the HTTP::respond is during the HTTP_REQUEST step. My understanding is that setting the priority wouldn't solve this particular scenario because later steps would never fire.
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