TCP::nagle

Description

Enables or disables the Nagle algorithm on the current TCP connection.

Syntax

TCP::nagle [enable | disable | auto]

TCP::nagle [enable | disable | auto]

  • Enables or disables the Nagle algorithm on the current TCP connection. The auto option (v12+) enables or disables Nagle based on connection conditions.
    ===Examples===
    when CLIENT_ACCEPTED {
    
    # Disable Nagle for SSH and telnet
    
    switch [TCP::client_port] {
    
    22 -
    
    23 { TCP::nagle disable }
    
    default { TCP::nagle enable }
    
    }
    
    }