diff --git a/src/webui/webui.c b/src/webui/webui.c index ed69ebdf..1b3d8ca9 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -157,8 +157,9 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq, th_subscription_t getsockopt(hc->hc_fd, SOL_SOCKET, SO_ERROR, (char *)&err, &errlen); //Abort upon socket error, or after 20 seconds of silence - if(err || timeouts >= 20){ - run = 0; + if(err || timeouts >= 20) { + tvhlog(LOG_WARNING, "webui", "Timeout waiting for packets"); + run = 0; } } pthread_mutex_unlock(&sq->sq_mutex);