[ITC/UTC][player][Non-ACR][Reduce curl timeout] 28/219328/1
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 4 Dec 2019 09:08:53 +0000 (18:08 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Wed, 4 Dec 2019 09:07:48 +0000 (09:07 +0000)
Change-Id: I73927577cc337492ad1ff04eac4c6de4cc6ffa77

src/itc/player/ITs-player.c
src/utc/player/utc-media-player-streaming.c

index 397cac19471954472aa0ea61dd06c9a592a04921..4704ea0eee3751a318bf039f7f4ac1f6fd1dafb6 100755 (executable)
@@ -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);
 
index fca56d5a599f63ef437524767dff11c4b5750ce3..9722fbc9a4bf857ac30fee9413c9b057b137876c 100644 (file)
@@ -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);