rtspconnection: Fix potential deadlock caused by blocking read forever
authorSergio Torres Soldado <torres.soldado@gmail.com>
Mon, 4 Jul 2016 16:19:08 +0000 (17:19 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 7 Jul 2016 16:15:18 +0000 (19:15 +0300)
commit7960bc0380b0ef45d641cc35ca35b34dea41e300
tree68d8de963a95711ebc621841d783eed4984f2668
parent9144a787dfed694ea646e3f35dcf6b35be1330ea
rtspconnection: Fix potential deadlock caused by blocking read forever

Reset the connection "may_cancel" property to avoid a potential deadlock
if there is no data to read and the socket stays blocked forever.

https://bugzilla.gnome.org/show_bug.cgi?id=768249
gst-libs/gst/rtsp/gstrtspconnection.c