On 10/11/18 12:53 PM, Dirk Wetter wrote: > This all -- including cat -- sounded reasonable. But it seems using sockets > the internal printf > as opposed to the one from coreutils is still causing fragmentation other > than expected with > strace PoC:
Bash line-buffers stdout, so newlines cause writes and packet fragmentation. http://lists.gnu.org/archive/html/bug-bash/2018-09/msg00086.html http://lists.gnu.org/archive/html/bug-bash/2018-09/msg00095.html http://lists.gnu.org/archive/html/bug-bash/2018-09/msg00102.html http://lists.gnu.org/archive/html/bug-bash/2018-09/msg00118.html Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
