From 2b87b43e4bc893aea1b0f1e9cb1d121ebabe61dc Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 8 Feb 2023 22:41:41 +0900 Subject: [PATCH] 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 --- agent/download-agent-plugin-libcurl.c | 2 -- packaging/download-provider.spec | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 -- 2.7.4