sj icon indicating copy to clipboard operation
sj copied to clipboard

XML messages may get interleaved if longer than PIPE_BUF

Open michaelforney opened this issue 8 years ago • 0 comments

Since all the subdaemons communicate with sj using the same FIFO, I think the XML messages may be interleaved if any are larger than PIPE_BUF (POSIX says this could be as low as 512).

Maybe instead of a FIFO, sj should use a UNIX domain socket so that each subdaemon gets it's own FD?

michaelforney avatar Feb 26 '17 19:02 michaelforney