Nik2607
Jan 07, 2022Altostratus
iRule to set tcp timeout value for the specific URL
Hello Team,
We have a requirement to set up an iRule to set the TCP timeout of 600 sec for a particular URL passing via F5 VIP. I took some help from the F5 Dev articles, here is the complete iRule -
when HTTP_REQUEST {
if { ([HTTP::host] equals "example.com") } {
IP::idle_timeout 600
set serverside_idle_timeout 1
}
}
when SERVER_CONNECTED {
if {$serverside_idle_timeout} {
IP::idle_timeout 600
}
}
is this correct? Could someone tell explain why we need "set serverside_idle_timeout 1"