Livius
Jul 16, 2018Altostratus
iRule event order
Hi,
I have the following iRule in which both ifs are matched :
Code
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
report {pool HSL_pool
log local0. "seq1 match"
}
}
if { [IP::addr [IP::client_addr] equals 10.10.10.1] } {
pool test_pool
log local0. "seq2 match"
}
}
Which event will be matched? HTTP_REQUEST or IP::addr?