]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
increased initial 'tuning' timeout for http from 5 seconds to 20 seconds
authorJohn Törnblom <john.tornblom@gmail.com>
Mon, 5 Mar 2012 14:55:41 +0000 (15:55 +0100)
committerJohn Törnblom <john.tornblom@gmail.com>
Mon, 5 Mar 2012 14:55:41 +0000 (15:55 +0100)
src/webui/webui.c

index 1862e6e3c61d7f0fb0fa90e5c455b11361572d25..5eeedbf72ce741a10d5e71ee8b38af36e2b38c36 100644 (file)
@@ -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;            
           }
       }