[MPlayer-dev-eng] [PATCH] disable SIGPIPE for network send()

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 16 20:13:25 CEST 2010


Hello,
MPlayer really shouldn't quit just because some server closed the
connection.
Attached patch adds MSG_NOSIGNAL to the send flags if available.
SO_NOSIGPIPE would have been nicer IMO, but that's not available
at least on debian...
Note that this does not fully fix the problem, I think libavformat
and live555 still cause SIGPIPEs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sigpipe.diff
Type: text/x-diff
Size: 4045 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100616/4d6e4f3b/attachment.diff>


More information about the MPlayer-dev-eng mailing list