Forum Discussion
Kevin_Stewart
Feb 04, 2013Employee
I'm not sure there is an HTTP timeout control, and what you're asking for isn't trivial.
Aside from that, I can think of potentially two options (albeit sub-optimal):
1. Force a "Connection: Close" header in HTTP responses. Probably not the best performance you'll get since you're not allowing any keep-alives at all, but you should be able to thwart the client's keep-alives.
2. A timer function in iRules. I would stress that this could be potentially dangerous, if not simply memory intensive, so please test vigorously if you choose something like the following:
when HTTP_RESPONSE {
if { not ( [info exists timer] ) } {
set timer [after 8000 { TCP::close }]
}
}