From: Jaroslav Kysela Date: Fri, 16 Jun 2017 13:33:44 +0000 (+0200) Subject: webui: http_stream_run - fix the end-of-connection check X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=455220c9f3630ce280b783b9b1652694907ccf19;p=thirdparty%2Ftvheadend.git webui: http_stream_run - fix the end-of-connection check --- diff --git a/src/streaming.c b/src/streaming.c index 10d2e6094..a53cee746 100644 --- a/src/streaming.c +++ b/src/streaming.c @@ -201,7 +201,7 @@ streaming_msg_create(streaming_message_type_t type) memoryinfo_alloc(&streaming_msg_memoryinfo, sizeof(*sm)); sm->sm_type = type; #if ENABLE_TIMESHIFT - sm->sm_time = 0; + sm->sm_time = 0; #endif return sm; } diff --git a/src/webui/webui.c b/src/webui/webui.c index ba2c89026..06392536c 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -496,6 +496,8 @@ http_stream_run(http_connection_t *hc, profile_chain_t *prch, break; case SMT_SERVICE_STATUS: + case SMT_SIGNAL_STATUS: + case SMT_DESCRAMBLE_INFO: if(tcp_socket_dead(hc->hc_fd)) { tvhdebug(LS_WEBUI, "Stop streaming %s, client hung up", hc->hc_url_orig); @@ -510,8 +512,6 @@ http_stream_run(http_connection_t *hc, profile_chain_t *prch, case SMT_NOSTART_WARN: case SMT_SKIP: case SMT_SPEED: - case SMT_SIGNAL_STATUS: - case SMT_DESCRAMBLE_INFO: case SMT_TIMESHIFT_STATUS: break;