Skip to content
Snippets Groups Projects
Commit 9a6881bd authored by Monty Brandenberg's avatar Monty Brandenberg
Browse files

SH-3328 Permanently add 'QAModeHttpTrace' setting to control llcorehttp trace functionality

llcorehttp implements a nice trace facility but it hasn't been attached to
an external control to date.  This hands over control to a *non-persistent*
setting that can be used for QA or field diagnostics.
parent f5e35cbc
No related branches found
No related tags found
No related merge requests found
...@@ -85,7 +85,9 @@ void LLAppCoreHttp::init() ...@@ -85,7 +85,9 @@ void LLAppCoreHttp::init()
// 1 - Basic start, stop simple transitions // 1 - Basic start, stop simple transitions
// 2 - libcurl CURLOPT_VERBOSE mode with brief lines // 2 - libcurl CURLOPT_VERBOSE mode with brief lines
// 3 - with partial data content // 3 - with partial data content
status = LLCore::HttpRequest::setPolicyGlobalOption(LLCore::HttpRequest::GP_TRACE, 0); long trace_level(0L);
trace_level = long(gSavedSettings.getU32("QAModeHttpTrace"));
status = LLCore::HttpRequest::setPolicyGlobalOption(LLCore::HttpRequest::GP_TRACE, trace_level);
// Setup default policy and constrain if directed to // Setup default policy and constrain if directed to
mPolicyDefault = LLCore::HttpRequest::DEFAULT_POLICY_ID; mPolicyDefault = LLCore::HttpRequest::DEFAULT_POLICY_ID;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment