Forum Discussion
sundogbrew
Altocumulus
Nov 10, 2017TCP-timeout question
Hey guys,
Got an interesting (to me anyway) question. I have a user with an application that does long queries that run in the background. It was timing out and so I created a new TCP profile for i...
Stanislas_Piro2
Cumulonimbus
Nov 13, 2017You can try to detect if the request requires long timeout (filter by a HTTP header, URI, ...) and change the timeout.
when HTTP_REQUEST {
if {[HTTP::host] equals "www.company.com" && [HTTP::path] equals "/long_time_request"} {
TCP::idletime 1800
}
}
when HTTP_RESPONSE {
set the timeout to 30 seconds after server response to prevent DOS abuse.
TCP::idletime 30
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
