Forum Discussion

Josh_44053's avatar
Josh_44053
Icon for Nimbostratus rankNimbostratus
Feb 01, 2012

Idle Timeout in TCP profile

Is it possible in an iRule to adjust either:

A. The idle timeout of a connection.

 

B. The TCP profile that is applied to the connection

 

Based on a portion of the URI being called.

 

 

 

For example, if a client requests a URI from a site that includes /foo1, we want the TCP timeout to be 5 minutes. However, if a client requests a URI from the same site that includes /bar2, we want the TCP timeout to be 10 minutes.

 

 

 

Is this possible, or is there perhaps another way to solve this?

 

 

 

Thanks,

 

Josh

 

  • Hi Josh,

     

     

    You can use IP::idle_timeout to get or set the idle timeout from an iRule:

     

     

    http://devcentral.f5.com/wiki/iRules.ip__idle_timeout.ashx

     

     

    Aaron
  • Awesome, I didn't have the proper search terms.

     

     

    Thanks Aaron!!!