ltm rule command TCP nagleΒΆ

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



TCP::nagle
       Toggles the Nagle mode.

SYNOPSIS
       TCP::nagle (enable | disable | auto)

DESCRIPTION
       Enables or disables the Nagle algorithm on the current TCP connection.
       Nagle waits for additional data before sending undersized packets, see
       RFC896 for details.  The auto option enables or disables Nagle based on
       connection conditions.

       Syntax

       TCP::nagle [enable | disable | auto]

	    * Enables or disables the Nagle algorithm on the current TCP connection.
	    * The auto option enables or disables Nagle based on connection conditions.

RETURN VALUE
       None.

VALID DURING
       CLIENT_ACCEPTED, CLIENT_CLOSED, CLIENT_DATA, SERVER_CLOSED,
       SERVER_CONNECTED, SERVER_DATA, SIP_REQUEST, SIP_REQUEST_SEND,
       SIP_RESPONSE, STREAM_MATCHED

EXAMPLES
	# Disable Nagle for SSH and telnet
	when CLIENT_ACCEPTED {
	  switch [TCP::client_port] {
	    22 -
	    23 { TCP::nagle disable }
	    default { TCP::nagle enable }
	  }
	}

	# Change the TCP Nagle mode to auto.
	when CLIENT_ACCEPTED {
	    TCP::nagle auto
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-10.1.0 --First introduced the command.  @BIGIP-12.0.0 --Added
       "auto" option.



BIG-IP				  2017-01-31			      iRule(1)