]> git.ipfire.org Git - thirdparty/shairport-sync.git/commit
Fix deadlocks in RTSP code 72/head
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Thu, 16 Apr 2015 09:53:39 +0000 (11:53 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Thu, 16 Apr 2015 09:53:39 +0000 (11:53 +0200)
commit40de286b56646d9590dd5731c166437541486685
tree4d282426a6b9d16e632b415da2f234ca9eb5d140
parent816c2a8814d570733e6adb397bd2e17b9731d0b8
Fix deadlocks in RTSP code

If the ANNOUNCE and/or SETUP method fails, the play_lock mutex
is never unlocked, thus blocking other clients from connecting.

This patch unlocks play_lock if an error occurs in either ANNOUNCE
or SETUP.
rtsp.c