Forum Discussion
Ganesh_Ramamoor
Nimbostratus
Nov 08, 2005TCP Rule question
When I'm using this iRule:
when CLIENT_ACCEPTED {
TCP::collect
}
when CLIENT_DATA {
if { [TCP::payload] contains "XXX" } {
pool XXX
}
elseif...
unRuleY_95363
Nov 08, 2005Historic F5 Account
Well, actually, you are partially correct. The behavior is different if you have an HTTP profile. When using the HTTP profile (or fasthttp), the completion of each response causes the lb decision to be unlocked so a new pool can be chosen for the subsequent request. In that case, it doesn't actually detach unless the pool is changed. However, when using oneconnect, an implicit detach is done after every response. With regard to pipelining, yes, you would need to be careful about that. Perhaps you should add a variable to indicate a request is pending and you shouldn't process the next request until the response is received. This is behavior the http profile normally takes care of. I'm not sure why you aren't using the http profile, but I assume you have some reason.
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
