From 14650562c2e53a809a75d88c631573d856697042 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Thu, 28 Nov 2024 18:13:21 +0300 Subject: [PATCH] update CURLOPT_USERAGENT value --- src/network/Network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/Network.cpp b/src/network/Network.cpp index bc4643bf..5a1931ac 100644 --- a/src/network/Network.cpp +++ b/src/network/Network.cpp @@ -99,7 +99,7 @@ public: curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, request.followLocation); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl/7.81.0"); if (request.maxSize == 0) { curl_easy_setopt( curl, CURLOPT_MAXFILESIZE, std::numeric_limits::max()