Forum Discussion
Hamish
May 18, 2010Cirrocumulus
iRule events firing out of order?
Is it SUPPOSED to be posisble for events to fire out of order?
. I have a 10.1.0 6900 that's running an iRule to measure LDAP searchtimes. As part of it, it sets up a few variables in SERVER_CONN...
spark_86682
May 22, 2010Historic F5 Account
Just to reassure you (and other readers), it is impossible for iRule events to fire out of order, though this is mostly true by definition. An iRule event fires whenever that action happens, so SERVER_CONNECTED fires whenever we have successfully connected to the server.
That said, I don't know what could be causing the problem you describe. The only thing that makes any sense to me is if the client connection closes after we get the SYN-ACK from the server and before server data arrives. That would sever the relationship between the client and server connections, and I think it just happens that variables are associated with the client connection. You could test this theory by testing inside SERVER_DATA if the variable exists, and if it doesn't then see if there's a client connection (maybe do a catch of clientside { [IP::client_addr] } and log the result, or something like that). Just a thought.
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