SynACk_128568
Dec 26, 2014Cirrostratus
Irule to increase idle timeout for particular URL and URI
Hi All ,
User have a requirement that if two host header are matched for ex. abc.com and cdf.com with URI /poodle . Then Idle timeout should be set to 86400 seconds . Bu default it is 300 sec in tcp-lan-optimized profile .
I created a irule with help of irule/events in devcentral , please let me know if this will work logically :
when HTTP_REQUEST {
if { (([HTTP::host] == "abc.com") or ([HTTP::host] == "cdf.com")) and ([HTTP::uri] ==
"/poodle") } {
IP::idle_timeout 86400
set serverside_idle_timeout 1
} }
when SERVER_CONNECTED {
if {$serverside_idle_timeout} {
IP::idle_timeout 86400
}
}
Thanks