Forum Discussion
iRule gets cached and executes when it shouldn't
Hello Joel,
Can you share one line from your iRule, the HTTP::respond function which responds with HTML content? You may replace the HTML code with a placeholder but I'd like to see if you include any headers.
Thanks for the reference. I've provided an example of my own. Such use of headers should address your problem regardless of circumstances. Some headers from your current solution are too bulky and provide no added value, but I think the real problem is the absence of Connection Close header. You want to add this to any HTTP response functions in your maintenance iRule.
HTTP::respond 200 content "html..." Cache-Control no-cache Pragma no-cache Connection Close
If after this update the issue prevails, you must do a one-time clean up of all active connections on that VS.
tmsh delete sys conn cs-server-addr YourVS-IP cs-server-port YourVS-port
Regards,
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