Commit Graph

5 Commits

Author SHA1 Message Date
Matthias Schiffer 04d2b6ffbb sse-multiplex: fix pipe FD leaks
sse-multiplexd leaked pipe FDs to its child processes, so newer children
kept the older ones alive when they should have received a SIGPIPE already.

Closes freifunk-gluon/gluon#2468
2022-07-03 16:19:35 +02:00
Matthias Schiffer 31e2000604
treewide: remove redundant definitions from package Makefiles 2018-03-07 20:51:48 +01:00
Matthias Schiffer 7abd688e6a
sse-multiplex: don't use stdio FILE I/O for nonblocking sockets
The behaviour is not defined; musl loses parts of long data lines. Change
code to work with file descriptors directly and handle buffering ourselves.
2018-02-13 22:21:46 +01:00
Matthias Schiffer 2fc02029b9 sse-multiplex: don't block on client sockets
Rather kill a client connection when the write buffer is full than blocking
in sse-multiplexd.
2016-01-12 15:25:15 +01:00
Matthias Schiffer 3f78449b9d Add new package sse-multiplex 2015-12-16 17:00:51 +01:00