rtspconnection: Handle EOF on writev() after checking for all other error conditions
authorSebastian Dröge <sebastian@centricular.com>
Fri, 30 Nov 2018 10:47:57 +0000 (12:47 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 29 Jan 2019 12:17:23 +0000 (14:17 +0200)
commit8a54cc3b161b60268075bdf2d80e89d9ae979b9f
tree704d2c14fdec0f4d8cb603e62ad653565c0e9037
parent87a9f2b92ca32e631b83a7a92fcf4d8e77f9fa92
rtspconnection: Handle EOF on writev() after checking for all other error conditions

Otherwise we would return EOF if nothing was written in any case, even
if this was actually a case of TIMEOUT or EWOULDBLOCK for example.

Thanks to Edward Hervey for debugging and finding this issue.
gst-libs/gst/rtsp/gstrtspconnection.c