From: Seonah Moon Date: Wed, 8 Feb 2023 13:41:41 +0000 (+0900) Subject: Do not use CURLAUTH_ANY X-Git-Tag: accepted/tizen/7.0/unified/20230216.140333~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F288342%2F1;p=platform%2Fframework%2Fweb%2Fdownload-provider.git Do not use CURLAUTH_ANY Curl known issue. https://curl.se/docs/knownbugs.html#libcurl_can_fail_to_try_alternat 6.6 libcurl can fail to try alternatives with --proxy-any https://github.com/curl/curl/issues/876 Change-Id: I31ce09e8bb3c8286804224df23e4fbfdba663aa5 --- diff --git a/agent/download-agent-plugin-libcurl.c b/agent/download-agent-plugin-libcurl.c index b1a5398..e3023dd 100755 --- a/agent/download-agent-plugin-libcurl.c +++ b/agent/download-agent-plugin-libcurl.c @@ -313,8 +313,6 @@ da_ret_t __set_proxy_on_soup_session(proxy_info_t *proxy_info, CURL *curl) if (!strstr(proxy_info->addr, "0.0.0.0")) { curl_easy_setopt(curl, CURLOPT_PROXY, proxy_info->addr); DA_LOGI("proxy[%s] is used.", proxy_info->addr); - if (proxy_info->user_name || proxy_info->password) - curl_easy_setopt(curl, CURLOPT_PROXYAUTH, CURLAUTH_ANY); if (proxy_info->user_name) curl_easy_setopt(curl, CURLOPT_PROXYUSERNAME, proxy_info->user_name); if (proxy_info->password) diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index ecbd9a4..2e50fcf 100755 --- a/packaging/download-provider.spec +++ b/packaging/download-provider.spec @@ -1,6 +1,6 @@ Name: download-provider Summary: Download the contents in background -Version: 2.3.6 +Version: 2.3.7 Release: 0 Group: Development/Libraries License: Apache-2.0