From 14fc45a1e259bbce76b5fd122479afc6ff1f3637 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 17 May 2025 01:45:08 +0200 Subject: [PATCH] Specify user agent. --- profiler/src/profiler/TracyLlm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/src/profiler/TracyLlm.cpp b/profiler/src/profiler/TracyLlm.cpp index 0c9a4c69..085e5f55 100644 --- a/profiler/src/profiler/TracyLlm.cpp +++ b/profiler/src/profiler/TracyLlm.cpp @@ -869,6 +869,7 @@ std::string TracyLlm::FetchWebPage( const std::string& url ) curl_easy_setopt( curl, CURLOPT_TIMEOUT, 10 ); curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, WriteFn ); curl_easy_setopt( curl, CURLOPT_WRITEDATA, &buf ); + curl_easy_setopt( curl, CURLOPT_USERAGENT, "Tracy Profiler" ); auto res = curl_easy_perform( curl );