]> git.sesse.net Git - vlc/commit
RTP out: robustify send error handling
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 12 May 2011 15:23:20 +0000 (18:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 12 May 2011 15:23:20 +0000 (18:23 +0300)
commitdddfd15d0df73f7002c52eab79b020154ab1527f
treebfc656b7c52134bccf63d67d09e1b214d9f51366
parent961fae15c74ced40284772d645094a90df8ad838
RTP out: robustify send error handling

For error other than congestion (EAGAIN, EWOULDBLOCK, ENOBUFS, ENOMEM),
check the socket type. If the socket is a datagram, retry. Otherwise,
the socket is connection-oriented and we assume the connection broke,
close it.
modules/stream_out/rtp.c