accumulate

Description

Terminates iRule processing until another another packet containing additional data is received from the originating client. This statement is useful with the HTTP::collect and TCP::collect commands, when not enough data has been received to be successfully evaluated.

Syntax

accumulate

accumulate

  • Terminates iRule processing until another packet containing additional data is received from the originating client.

Examples

when CLIENT_ACCEPTED {
   if { [TCP::payload] contains "ABC" } {
      pool http_pool
   }
   elseif { [TCP::collect] < 20 } {
      accumulate
   }
   else {
      discard
   }
}