stream: Use MSG_NOSIGNAL flag if available for send().
commit41d25ebcc8bc8601bd66f5435c75fdff25cadc17
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 27 Jun 2010 15:04:13 +0000 (27 15:04 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:11:43 +0000 (2 04:11 +0200)
tree6cf36aab161902d1b1cd508e89e0acfaf1592c18
parente55135212138800f0107247c1f3ded81366cd123
stream: Use MSG_NOSIGNAL flag if available for send().

This avoids MPlayer quitting due to SIGPIPE at least for these cases.
Ignoring SIGPIPE in general would break window-closing with some
window-managers.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31566 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/asf_streaming.c
stream/librtsp/rtsp.c
stream/librtsp/rtsp_rtp.c
stream/network.c
stream/network.h
stream/stream_ftp.c
stream/stream_netstream.h