Casey_Lucas_167
Mar 26, 2014Nimbostratus
How long should an old version of an iRule hang around?
I'm doing some iRule development/testing (11.3) and noticed that my log statements (via
log local0. "msg..."
) were continuing to be executed even after I had changed or removed them (by updating the iRule definition in the iRuler GUI). I assume that the old iRule definition is still associated with a connection, but I'm guessing on this one. How can I reliably test an iRule if I can't be confident that my new changes are even being used? Any other thoughts on how to make sure my new iRule version will be used? Maybe the iRule version remains with a client connection forever.
Note, I tried disabling the virt and even removing the iRule altogether but still the original log message remained.
Ah, I apologize I had been assuming your traffic was HTTP traffic which is short lived. Changes like this are applied to all new connections. It sounds like as you discovered you can either stop the application or clear the current connection table to ensure the change applies to all connections.