Forum Discussion
elito_26780
Nimbostratus
Mar 19, 2007Evaluating only first HTTP request in HTTP 1.1
I need to evaluate only first request in HTTP 1.1 packet and than select the appropriate pool. When I use HTTP_REQUEST, the rule evaluates every HTTP request it sees in HTTP 1.1 packet and then choose...
elito_26780
Nimbostratus
Mar 19, 2007No luck.
I'm playing with it right now in my test environment.
Here is my iRule:
when HTTP_REQUEST {
if { [HTTP::uri] contains ".gif"} {
pool servers2
}
else {
pool servers1
}
}
Very simple and straight forward. My VS uses default http profile without OneConnect transformation and doesn't use OneConnect profile.
I have a simple traffic generator that sends 5 HTTP requests within single HTTP 1.1 packet.The first request is a gif request. And I still see regular requests on "servers1" and gif requests on "servers2".
Any other places to dig? What is wrong?
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