return

Description

Causes immediate exit from the currently executing event in the currently executing iRule. iRule processing is not aborted, and subsequent events will be triggered and evaluated.
Note that return does not:
  • cause an exit from the iRule altogether;
  • prevent the same event from firing in another iRule; or
  • prevent the same event with a higher priority value from firing in the same iRule.

To prevent further processing of an event in the current rule or other rules for the current TCP connection, you can use ‘event EVENT_NAME disable’.

Syntax

return

return

  • exits from the currently executing event in the currently executing iRule

Examples

when CLIENT_LINE {
  if{ [TCP::payload] contains $srch } {
    return
  }
}