ltm rule command HTTP2 disable
iRule(1) BIG-IP TMSH Manual iRule(1)
HTTP2::disable
Changes the HTTP2 filter from full parsing to passthrough mode.
SYNOPSIS
HTTP2::disable ('clientside')? ('serverside')? ('discard')?
DESCRIPTION
Changes the HTTP2 filter from full parsing to passthrough mode. This command is useful when using an HTTP2
profile with an application that proxies data over HTTP.
Syntax
HTTP2::disable
* Puts HTTP2 traffic filtering into passthrough mode (disabling the
HTTP2 proxy) for the lifetime of the TCP connection or until
HTTP2::enable is called.
* Any currently open HTTP2 streams will be aborted on the corresponding
side, and transition to passthrough mode will occur when all their
pending data has been flushed.
* Once in passthrough mode, following data will not be encoded/decoded
into the HTTP2 protocol.
* Note that HTTP2 processing on the server-sides of streams may be
independently disabled.
HTTP2::disable clientside
* Disables the client-side HTTP2 filter only.
HTTP2::disable serverside
* Disables the server-side HTTP2 filter only. If this is called before the
server-side is connected, then the stream or connection will by default
use HTTP1.
HTTP2::disable discard
* Same as 'HTTP2::disable' but also discards any pending data.
RETURN VALUE
VALID DURING
EXAMPLES
when HTTP_REQUEST {
if { [HTTP::uri] contains "http1_backend"} {
HTTP2::disable serverside
}
}
HINTS
SEE ALSO
HTTP2::enable
CHANGE LOG
@BIGIP-14.1.0
--First introduced the command.
BIG-IP 2020-06-23 iRule(1)