Comment by rwmj

2 years ago

The comment about telnet had me wondering what openssh does, and it sets TCP_NODELAY on every connection, even for interactive sessions. (Confirmed by both reading the code and observing behaviour in 'strace').

Especially for interactive sessions, it absolutely should! :)

  • Ironic since Nagle's Algorithm (which TCP_NODELAY disables) was invented for interactive sessions.

    It's hard to imagine interactive sessions making more than the tiniest of blips on a modern network.