Forum Discussion

Wire's avatar
Oct 22, 2013

STREAM::disable and APM

TMOS 11.3.0 HF6

Does this:

    when HTTP_REQUEST {

        Disable the stream filter for all requests
       STREAM::disable
    }

break APM?

If not does anybody know why I get this line in /var/log/ltm:

local/tmm err tmm[5477]: 01220001:3: TCL error: /Common/stream_test - Operation not supported (line 1) invoked from within "STREAM::disable"

Thanks.

3 Replies

  • It shouldn't, but I think it would depend on what you're doing in the access policy. Put the STREAM::disable command in the ACCESS_ACL_ALLOWED event and see if that makes a difference.

     

  • This is what I had to do to get it to work:

    when ACCESS_ACL_ALLOWED {
       STREAM::disable
       HTTP::header remove "Accept-Encoding"
    }
    

    Both moved out of the HTTP_REQUEST event.