Forum Discussion
How do I make an iRule read each connection?
Cory,
You want every single HTTP request to be evaluated for a destination? By using disable you are only allowing the iRule to check the very first one that matches. It will never check any subsequent HTTP requests in the same connection. The iRules execution environment is for the life of the connection, this means any and all HTTP requests that come through that TCP connection until it is closed. The way this is written, one a condition is matched, subsequent HTTP requests in the same TCP connection will no longer trigger any HTTP_REQUEST event at all. Is that what you intended?
TCP connection open
HTTP request
HTTP request (match!)
HTTP request (ignored - will not trigger any events)
HTTP request (ignored - will not trigger any events)
HTTP request (ignored - will not trigger any events)
HTTP request (ignored - will not trigger any events)
HTTP request (ignored - will not trigger any events)
TCP connection closed
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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