Forum Discussion
raytoles_75680
Nimbostratus
Dec 08, 2009Stop processing iRules
I'm setting up some redirects and they're colliding a bit here. Is there any way to stop processing subsequent iRules? Here's what I see in the ltm logs.
Multiple redirect/respond invocations not allowed
3 Replies
- The_Bhattman
Nimbostratus
There are 2 such commands that can help you with that
return
http://devcentral.f5.com/Wiki/default.aspx/iRules/return.html
Event Disable
http://devcentral.f5.com/Wiki/default.aspx/iRules/event.html
I hope this helps
Bhattman - raytoles_75680
Nimbostratus
I answered my on question for a change. - hoolio
Cirrostratus
Hi Ray,
If you opted to use event disable, you should consider what impact if any the iRule would have on clients who might connect to the VIP via the same proxy. Those clients may make multiple HTTP requests over the same TCP connection. If you disable all iRules on the TCP connection, you should force LTM to close the connection to prevent subsequent HTTP requests on that connection from not being processed by your iRule(s).
It would probably be cleaner to set a flag at the beginning of each HTTP request and check that before trying to issue a redirect:
Multiple redirect/respond invocations not allowed
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=17663
Aaron
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
