Forum Discussion
bdavis
Nimbostratus
May 01, 2014IRULE: TCL Error when trying to invoke STREAM expression.
So recently I created a https front-end to a http application so I could put a SSO apm policy on the front-end for external entities to access the site. I then realized that the application developer...
Martin_Robbins
Nimbostratus
Jul 06, 2018Hello, I know this has been around a while but the single VS solution I use is to place a catch around the stream disable and only enable the stream when the policy is in the allow state using a flag:
when CLIENT_ACCEPTED { set disableStream 1 }
when HTTP_REQUEST { catch { STREAM::disable } }
when ACCESS_ACL_ALLOWED { set disableStream 0 }
when HTTP_RESPONSE { if { $disableStream } { return }
:
rest of STREAM code
:
}
We no longer have errors, hope it helps.
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