]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
satip server: move state to SETUP when session with TCP data closes the connection
authorJaroslav Kysela <perex@perex.cz>
Thu, 27 Jul 2017 09:47:17 +0000 (11:47 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 18 Sep 2017 13:00:54 +0000 (15:00 +0200)
src/satip/rtsp.c

index 43f562a4556a1bd842597b37089c3f21c428ded7..753243084c68a1313fd6338b2484d105ef73d6ba 100644 (file)
@@ -1526,6 +1526,7 @@ rtsp_flush_requests(http_connection_t *hc)
     } else if (rs->tcp_data == hc) {
       satip_rtp_close((void *)(intptr_t)rs->stream);
       rs->tcp_data = NULL;
+      rs->state = STATE_SETUP;
     }
   }
   pthread_mutex_unlock(&rtsp_lock);