Forum Discussion
xin_li_90490
Nimbostratus
Mar 24, 2005limit frequent http GET
my website use bigip3400. and now a problem occured.someone from one session accessed our website, but about 3 http gets in 1 second. how can I limit it?
bl0ndie_127134
Mar 25, 2005Historic F5 Account
Typically HTTP 1.x clients try to reuse the TCP connection so it’s quite common to see multiple GET requests on the same connection; some within a very short amount of time.
Here is an example that demonstrates how to set the upper limit on the number of requests on a keep-alive connection.
when HTTP_RESPONSE {
if {[HTTP::request_num] > 2} {
HTTP::close
}
}
Limiting the request rate on the other hand is a little bit trickier for a lot of reasons. Could you tell us a little bit more what you are looking for?
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