- Name
-
nonagle_inflight_max
- Default
-
50
- Minimum
-
1
- Scope
- per-stack
This option affects the behavior of TCP sockets with the TCP_NODELAY
socket option. Nagle's algorithm is enabled when the number of packets in-flight (sent but not acknowledged) exceeds the value of this option. This improves efficiency when sending many small messages, while preserving low latency.
Set this option to -1
to ensure that Nagle's algorithm never delays sending of TCP messages on sockets with TCP_NODELAY
enabled.