ltm rule command STREAM max matchsize
iRule(1) BIG-IP TMSH Manual iRule(1)
STREAM::max_matchsize
Sets a maximum number of bytes that the system can buffer during
partial matches.
SYNOPSIS
STREAM::max_matchsize SIZE
DESCRIPTION
Sets the maximum size, in bytes, that the system can buffer during
partial matches. The default value is 4096. The STREAM profile will
buffer data for partial matches; if more than max_matchsize would be
buffered, the connection will be torn down. This way a regex like
foobarbaz+ won't keep matching until the box runs out of memory. The
default is 4K, and STREAM::max_matchsize can be use to set it to
something else.
Syntax
STREAM::max_matchsize
* Sets the maximum size, in bytes, that the system can buffer during
partial matches. The default value is 4096.
RETURN VALUE
VALID DURING
HTTP_RESPONSE, HTTP_REQUEST
EXAMPLES
when HTTP_RESPONSE {
STREAM::max_matchsize 2048
STREAM::replace "foobarbaz"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.2.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)