Forum Discussion
Feb 03, 2010
I believe the problem lies in the fact that you not disabling the STREAM profile for requests not matching your criteria. If a first request comes back that matches the content type you are disabling the profile, updating the expression and then enabling it. The profile will remain enabled for that virtual server on all subsequent requests with that given expression until you explicitly disable it or it is changed by a subsequent matching response.
I would try moving the "STREAM::disable" to the first line in the HTTP_RESPONSE event and then only enable it when your match condition is reached.
-Joe