Forum Discussion
Eduardo_Saito_1
Nimbostratus
Apr 17, 2007Oneconnect
Hey guys,
I'm working on an iRule script that uses a VS + OneConnect profile and I want to enable OneConnect only for a specific set of URIs.
I was taking a look at the manual and I've found this:
ONECONNECT::detach - Detaches client-side and server-side connections.
ONECONNECT::reuse - Marks a connection for reuse in a server-side connection pool.
Let me see if I get this straight. The DETACH option flag a connection to not use OneConnect. The REUSE option flag a connection to stay open on the server side for reuse or will it check if there's a previous established connection ready for reuse?
Thanks!
Eduardo Saito
Assistec Integracao - Brazil
- Eduardo_Saito_1
Nimbostratus
I'm trying this but both are using OneConnect. What I'm trying to do is to use OneConnect except for this specific URI.when HTTP_REQUEST { Pegar URI. set tmpUri [HTTP::uri] Comparar if { $tmpUri eq "/mspetshop/Images/title.gif" } { ONECONNECT::reuse disable log local0. "URI sem OC: $tmpUri" } else { log local0. "URI com OC: $tmpUri" } }
- Steven_Honson_8
Nimbostratus
Hi Eduardo, - Eduardo_Saito_1
Nimbostratus
Hi Steven, - Deb_Allen_18Historic F5 AccountAs Eduardo seems to have experienced, I don't believe you can selectively disable OneConnect, especially not in the middle of an active connection.
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