Re:40 millisecond bug
by wahern on Wednesday November 18, 2020 @10:37AM
(#25137921)
This can be accomplished with the TCP socket options TCP_CORK on Linux and TCP_NOPUSH on FreeBSD and OpenBSD. When enabled only full TCP frames are sent; upon disabling any partial frame is immediately sent. See tcp(7) on Linux, tcp(4) on FreeBSD, and http://dotat.at/writing/nopush.html clarifying the behavior.
[ Parent
| on HN ]
Re:40 millisecond bug
by Ono-Sendai on Thursday November 19, 2020 @12:10AM
(#25146433)
Yeah, TCP_CORK would work but it's not an elegant solution IMO.