From: Gilbok Lee Date: Wed, 4 Dec 2019 09:08:53 +0000 (+0900) Subject: [ITC/UTC][player][Non-ACR][Reduce curl timeout] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F219328%2F1;p=test%2Ftct%2Fnative%2Fapi.git [ITC/UTC][player][Non-ACR][Reduce curl timeout] Change-Id: I73927577cc337492ad1ff04eac4c6de4cc6ffa77 --- diff --git a/src/itc/player/ITs-player.c b/src/itc/player/ITs-player.c index 397cac194..4704ea0ee 100755 --- a/src/itc/player/ITs-player.c +++ b/src/itc/player/ITs-player.c @@ -772,7 +772,7 @@ bool CheckOnlineStatus(char *media_path) curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, media_path); - curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 10000L); + curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 4500L); curl_easy_setopt(curl, CURLOPT_NOBODY, 1L); curl_easy_setopt(curl, CURLOPT_IPRESOLVE, 1L); diff --git a/src/utc/player/utc-media-player-streaming.c b/src/utc/player/utc-media-player-streaming.c index fca56d5a5..9722fbc9a 100644 --- a/src/utc/player/utc-media-player-streaming.c +++ b/src/utc/player/utc-media-player-streaming.c @@ -103,7 +103,7 @@ bool check_online_status(char *media_path) curl = curl_easy_init(); if(curl) { curl_easy_setopt(curl, CURLOPT_URL, media_path); - curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 10000L); + curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 4500L); curl_easy_setopt(curl, CURLOPT_NOBODY, 1L); curl_easy_setopt(curl, CURLOPT_IPRESOLVE, 1L);