Forum Discussion
table command causing abort of rule event HTTP_REQUEST
Pending rule event HTTP_REQUEST aborted for ... (listener: /Common/Drupal_HTTP)
i may be wrong but i think it means connection is terminated (for whatever reason) before irule is complete.
by the way, these are my comments.
1) for static variable (e.g. maxReqs, cooldownTimer, sampleTimer, timeout),
static
https://clouddocs.f5.com/api/irules/static.html
2) in No session cookie found. Quitting section, you may use "return" to exit the current event. event disable does not exit from the event.
event
https://clouddocs.f5.com/api/irules/event.html
irule
[root@ve11a:Active:In Sync] config tmsh list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
log local0. "priority 500: before"
event HTTP_REQUEST disable
log local0. "priority 500: after"
}
when HTTP_REQUEST priority 600 {
log local0. "priority 600"
}
when HTTP_RESPONSE {
log local0. "priority 500"
}
}
/var/log/ltm
[root@ve11a:Active:In Sync] config tail -f /var/log/ltm
Jun 8 11:45:34 ve11a info tmm[9801]: Rule /Common/qux HTTP_REQUEST: priority 500: before
Jun 8 11:45:34 ve11a info tmm[9801]: Rule /Common/qux HTTP_REQUEST: priority 500: after
Jun 8 11:45:35 ve11a info tmm[9801]: Rule /Common/qux HTTP_RESPONSE: priority 500
3) in set currCount [table add $key 1] section, when will table add return null?
table
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