Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14713 > unrolled thread

Re: bash sockets: printf \x0a does TCP fragmentation

Started byChet Ramey <chet.ramey@case.edu>
First post2018-10-11 15:11 -0400
Last post2018-10-11 15:11 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: bash sockets: printf \x0a does TCP fragmentation Chet Ramey <chet.ramey@case.edu> - 2018-10-11 15:11 -0400

#14713 — Re: bash sockets: printf \x0a does TCP fragmentation

FromChet Ramey <chet.ramey@case.edu>
Date2018-10-11 15:11 -0400
SubjectRe: bash sockets: printf \x0a does TCP fragmentation
Message-ID<mailman.2033.1539285126.1284.bug-bash@gnu.org>
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    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web