You did not set the serverside_idle_timeout to 0 as default value...
so it raise a tcl error...
2 solutions:
when HTTP_REQUEST {
set serverside_idle_timeout 0
if { ([IP::addr [IP::client_addr] equals 172.17.101.60] or [IP::addr [IP::client_addr] equals 172.17.101.149]) and ([HTTP::host] equals "soaprod.corp.unifirst.com") } { log local0. "original timeout: [IP::idle_timeout]"
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
set serverside_idle_timeout 1
}
}
when SERVER_CONNECTED {
log local0. "original timeout: [IP::idle_timeout]"
if {$serverside_idle_timeout} {
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
}
}
or
when HTTP_REQUEST {
if { ([IP::addr [IP::client_addr] equals 172.17.101.60] or [IP::addr [IP::client_addr] equals 172.17.101.149]) and ([HTTP::host] equals "soaprod.corp.unifirst.com") } { log local0. "original timeout: [IP::idle_timeout]"
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
set serverside_idle_timeout 1
}
}
when SERVER_CONNECTED {
log local0. "original timeout: [IP::idle_timeout]"
if {([info exists serverside_idle_timeout]) && ($serverside_idle_timeout)} {
IP::idle_timeout 10800
log local0. "updated timeout: [IP::idle_timeout]"
}
}