ltm rule command HTTP2 enableΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

HTTP2::enable
       Changes the HTTP2 filter from passthrough to full parsing mode.

SYNOPSIS
       HTTP2::enable ('clientside')? ('serverside')?

DESCRIPTION
       Changes the HTTP2 filter from passthrough to full parsing mode. This command is useful when it is unknown
       whether HTTP2 will be used at configuration time, but known at runtime.	This command is quite tricky to get
       right.  In general, it may be better to use HTTP2::disable.

       Syntax

       HTTP2::enable

	    * Change the HTTP2 filter from passthrough mode to full parsing mode. Puts
	      HTTP traffic filtering into full parsing mode (enabling the HTTP2
	      proxy) for the lifetime of the TCP connection or until
	      HTTP2::disable is called.
	    * Note that HTTP2 processing on the server-sides of streams may be
	      independently enabled.

       HTTP2::enable clientside

	    * Enables the client-side HTTP2 filter only.

       HTTP2::enable serverside

	    * Enables the server-side HTTP2 filter only.

RETURN VALUE
VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	    HTTP2::disable
	    if { !([IP::addr [IP::client_addr] eq 10.0.0.0/8]) } {
		HTTP2::enable
	    }
	}

HINTS
SEE ALSO
       HTTP2::enable

CHANGE LOG
       @BIGIP-14.1.0
	   --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)