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...
Deb_Allen_18
Mar 19, 2007Historic F5 Account
Hi Eli -
A bit of irony playing here: We usually get the opposite question -- how to keep the iRule from sending all requests in a KeepAlive connection to the server that was selected for the first.
Enabling OneConnect forces re-selection of the most appropriate server on each request. On the other hand, with OneConnect disabled, the serverside connection is maintained for the life of the connection, causing subsequent requests to go to the same server even when conditions are observed to have changed. (It's not exactly intuitive -- lots more on that here:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&forumid=5&postid=10032 Click here)
So I'll go out on a limb here and assume you have a OneConnect profile enabled on the virtual server, and further assume that if you remove it, you'll probably see the behaviour you are looking for...
HTH
/deb
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