Forum Discussion
Joel_Moses
Nimbostratus
Oct 07, 2009Any way to read current tcp idle measurement?
I have a need to read the state of the idle timer for a particular TCP connection from an iRule. It's easy to use PROFILE::tcp idle_timeout to get the value of the idle timer itself, but I'm not able ...
hoolio
Cirrostratus
Oct 07, 2009I don't know of a way to get the idle time for the current TCP connection. I guess if you could it would always be 0 (or close to it) as most iRule events are triggered when some kind of data is received. And if you could get the idle time, you wouldn't necessarily have an event to trigger on at x number of idle seconds.
I haven't tried it yet, but it seems like the 'after' command is exactly what you'd want to use to send the client some kind of wait message while the app takes a long time formulating a response.
If anyone else has ideas, please reply. Else, if you try something and have questions or figure out a solution, can you post back?
Thanks,
Aaron
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
