Forum Discussion
How many HTTP request can access IRules?
How many HTTP request can access IRules? If more than 1 HTTP request
can access a set of IRules associated with a VS, then do they have their own set of variables or do they share a static variable? ".... own set of variables..." meaning each HTTP request variable X can be any value at any point in time. "... share a static variable..." meaning each HTTP request will share 1 variable X value and if it changes then it changes for ALL.
ex) If 2 HTTP request access IRules at the same time and manipulates X variable.
1) HTTP Request 1 changes variable X to "1" in HTTP REQUEST EVENT.
2) Then HTTP Request 2 changes variable X to "2" in HTTP REQUEST EVENT.
3) HTTP Request 2 uses variable X in the HTTP RESPONSE EVENT.
Is HTTP Request 2 variable X equal to "1" or "2"?
Thanks in advance.
TRX
- hooleylistCirrostratusHi TRX,
- The link you listed is not working properly.
- hooleylistCirrostratusI had an extra letter on the end of the URL. Can you try this:
- Thanks. I will check it out.
- hooleylistCirrostratusClients can pipeline requests with HTTP so that request one and request two are sent before a reply comes back for the first request. I'm not sure how TMM handles that. By default, pipelining is enabled on the HTTP profile. But I think OneConnect does not support pipelining.
- L4L7_53191NimbostratusTrx: for 'normal' variables set in iRules (as opposed to static::, globals, tables or data groups), they are scoped locally per connection. A connection hits the VIP, then instantiates the iRule and the variables are uniquely scoped to that flow. So connection 1 will only ever see connection 1's variables; ditto connection 2...
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