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

Attila Kinali attila at kinali.ch
Thu Jun 17 09:45:18 CEST 2010


On Wed, 16 Jun 2010 20:13:25 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:

> 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.

How about catching SIGPIPE instead and handling it accordingly?

			Attila Kinali

-- 
If you want to walk fast, walk alone.
If you want to walk far, walk together.
		-- African proverb



More information about the MPlayer-dev-eng mailing list