rtsp: avoid crashing on SIGPIPE
authorSreerenj B <bsreerenj@gmail.com>
Fri, 13 Nov 2009 10:16:44 +0000 (11:16 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 13 Nov 2009 10:18:46 +0000 (11:18 +0100)
commitf3b3dd33f3cfe9d53412a326884c3f2ce9363f68
tree57d7fc2b13b25f59bbdd6cf769b08aa819898417
parent18f5fad78593b03ac0d3ef100723f355d032dfdb
rtsp: avoid crashing on SIGPIPE

Use send() instead of write() so that we can pass the MSG_NOSIGNAL flags to
avoid crashing with SIGPIPE when the remote end is not listening to us anymore.

Fixes #601772
gst-libs/gst/rtsp/gstrtspconnection.c