Forum Discussion
Chris_Phillips
Nimbostratus
Jun 12, 2012default TCP profile - idle timeout vs keepalive
Nice short one... the default TCP idle timeout is 300 seconds, yet the default keepalive interval is 1800. What's going on here? Is there some subtlety I'm missing here? How does it wait 6 times longe...
Dec 22, 2004
There are several ways you can approach this. You could change your code a bit to not do the HTTP rewrite until you have evaluated all of the cases and use a variable to store the pool name like this:
when HTTP_REQUEST
{
set def_pool "Supporthomepage"
if { [HTTP::uri] starts_with "/webcentral" }
{
if { [HTTP::uri] contains "/customer1" }
{
set def_pool "customer1"
}
elseif { [HTTP::uri] contains "/customer2" }
{
set def_pool "customer2"
}
HTTP::uri "/archibus"
}
pool $def_pool
}
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects