From fc438607d2f33c8a930ab9dd532cdf210b9c7ea7 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 30 Jun 2023 09:26:06 +0200 Subject: [PATCH] We have a constant for this --- indra/llcorehttp/_httpoprequest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp index d5d886641a..dc5f6fbcf5 100644 --- a/indra/llcorehttp/_httpoprequest.cpp +++ b/indra/llcorehttp/_httpoprequest.cpp @@ -49,6 +49,8 @@ #include "httpstats.h" +#include "indra_constants.h" // Clownflare changes + // *DEBUG: "[curl:bugs] #1420" problem and testing. // // A pipelining problem, https://sourceforge.net/p/curl/bugs/1420/, @@ -525,7 +527,7 @@ HttpStatus HttpOpRequest::prepareRequest(HttpService * service) check_curl_easy_setopt(mCurlHandle, CURLOPT_SEEKDATA, getHandle()); check_curl_easy_setopt(mCurlHandle, CURLOPT_COOKIEFILE, ""); - check_curl_easy_setopt(mCurlHandle, CURLOPT_USERAGENT, "Firestorm"); + check_curl_easy_setopt(mCurlHandle, CURLOPT_USERAGENT, APP_NAME); // Clownflare changes if (gpolicy.mSslCtxCallback) {