HTTP::passthrough_reason

Description

This command returns the reason for the most recent switch to pass-through mode by the HTTP filter.

Syntax

HTTP::passthrough_reason [<as_num>]

HTTP::passthrough_reason

  • Returns a string with one of the following values:
    • Unknown
    • iRule
    • Connect
    • Web Sockets
    • Oversize Client Headers
    • Excess Client Headers
    • Oversize Server Headers
    • Excess Server Headers
    • Unknown Method
    • Pipelined Data

HTTP::passthrough_reason [<as_num>]

  • Returns an integer code corresponding to which case in the above list occurred, suitable for an error code.

Examples

when HTTP_DISABLED { log local2. [HTTP::passthrough_reason] }
when HTTP_DISABLED { log local2. [HTTP::passthrough_reason as_num] }