Forum Discussion
jeff_mccombs_47
Nimbostratus
Oct 17, 2012iRules OneConnect and variable scope...Hrm.
Could be I'm just not doing something right here. But consider the following:
iRule:
when CLIENT_ACCEPTED {
set seqA 0
incr seqA
log local0. "SEQ-1: $seqA - SE...
Richard__Harlan
Oct 17, 2012Historic F5 Account
If I understand what you are looking for you need to put what you are looking for into a array. So I am guessing you want to match request X with response X. The first thing it has been a while since I have read the RFC but in a HTTP 1.1 connection request are answered in the same order they were received. Now oneconnect does not use HTTP 1.1 but it should still answer the requests in the order it was received. So the 5th response should be the answer for the 5th request.
If you put the data you are wanting to keep track of in a Array you can push new data into it and pull data out. So if you are keeping track of the Host header for the 5th request. when the 5th response happens you can look at the 5th position of the array to get your answer.
If this is not what you are looking for let us know. Thanks
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
