ltm rule command HTTP passthrough reason
iRule(1) BIG-IP TMSH Manual iRule(1)
HTTP::passthrough_reason
Returns the reason for the most recent switch to pass-through mode by
the HTTP filter.
SYNOPSIS
HTTP::passthrough_reason ('as_num')?
DESCRIPTION
This command returns the reason for the most recent switch to pass-
through mode by the HTTP filter.
Syntax
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 []
* Returns an integer code corresponding to which case in the above
list occurred, suitable for an error code.
RETURN VALUE
VALID DURING
Any HTTP event, or an event where the http filter is initialized
EXAMPLES
when HTTP_DISABLED { log local2. [HTTP::passthrough_reason] }
when HTTP_DISABLED { log local2. [HTTP::passthrough_reason as_num] }
HINTS
SEE ALSO
The HTTP::reject_reason command works similarly, describing the reason
why HTTP aborted.
CHANGE LOG
@BIGIP-11.5.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)