From: Jaroslav Kysela Date: Thu, 27 Jul 2017 09:47:17 +0000 (+0200) Subject: satip server: move state to SETUP when session with TCP data closes the connection X-Git-Tag: v4.2.4~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d772e4308191a90b423013d02aba6aa146674992;p=thirdparty%2Ftvheadend.git satip server: move state to SETUP when session with TCP data closes the connection --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index 43f562a45..753243084 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -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);