mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-18 14:55:53 +00:00
Specify user agent.
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user