Forum Discussion
CraigM_17826
Altocumulus
Feb 17, 2010iRules and HTTP classes
Just a quick one,
Are iRules processed before HTTP classes? I have a situation where I am migrating a lot of iRule based redirects/pools to HTTP classes but I have one situation where o...
hoolio
Cirrostratus
Feb 17, 2010Hi Craig,
Can you post the current iRule code you're trying to replace with HTTP classes?
For a standard HTTP VIP with an HTTP class, I'd expect the following events to be triggered:
CLIENT_ACCEPTED - TCP connection from client to VIP established
HTTP_REQUEST - client's HTTP request headers parsed
HTTP_CLASS_SELECTED (if a matching class is found for a request) or HTTP_CLASS_FAILED (if no matching class is found for a request)
LB_SELECTED - pool member selected
SERVER_CONNECTED - TCP connection from LTM to server established
HTTP_REQUEST_SEND - just before the HTTP request is sent to the server
HTTP_RESPONSE - server's HTTP response headers parsed
SERVER_CLOSED - LTM to server connection closed
CLIENT_CLOSED - client to VIP connection closed
There are probably a lot of exceptions/additions to this, but I think that list covers the basics.
For details on the events, you can check the wiki page:
http://devcentral.f5.com/wiki/default.aspx/iRules/events
Aaron
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