From: John Törnblom Date: Mon, 5 Mar 2012 14:55:41 +0000 (+0100) Subject: increased initial 'tuning' timeout for http from 5 seconds to 20 seconds X-Git-Tag: 2.99~14^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f7b758018a8a375893a293869a1697939d9369;p=thirdparty%2Ftvheadend.git increased initial 'tuning' timeout for http from 5 seconds to 20 seconds --- diff --git a/src/webui/webui.c b/src/webui/webui.c index 1862e6e3c..5eeedbf72 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -155,8 +155,8 @@ http_stream_run(http_connection_t *hc, streaming_queue_t *sq, th_subscription_t //Check socket status getsockopt(hc->hc_fd, SOL_SOCKET, SO_ERROR, (char *)&err, &errlen); - //Abort upon socket error, or after 5 seconds of silence - if(err || timeouts > 4){ + //Abort upon socket error, or after 20 seconds of silence + if(err || timeouts >= 20){ run = 0; } }