Applicable in Output-class directives.
The insert-filter SAF is used to add a filter to the filter stack to process outgoing (server-to-client) data.
The order of Input fn="insert-filter" and Output fn="insert-filter" directives can be important.
Returns REQ_PROCEED if the specified filter was inserted successfully, or REQ_NOACTION if the specified filter was not inserted because it was not required. Any other return value indicates an error.
The following table describes parameters for the insert-filter function.
Table 4–41 insert-filter Parameters
Parameter |
Description |
---|---|
Specifies the name of the filter to insert. |
|
bucket |
(Optional) Common to all obj.conf functions. |
Output fn="insert-filter" filter="http-compression" |