diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2012-08-17 12:01:22 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2012-08-17 12:01:22 -0400 |
commit | 9a6881bdedf530872c442bddbe0335ca475c736e (patch) | |
tree | 6a6c8a7c41c2b24227ca0690ddb1fbda0c783915 | |
parent | f5e35cbc5362f6b83fcccabf6b22374ca6f08d42 (diff) |
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.
-rw-r--r-- | indra/newview/llappcorehttp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llappcorehttp.cpp b/indra/newview/llappcorehttp.cpp index e89c8d5ac2..a3cd0638d5 100644 --- a/indra/newview/llappcorehttp.cpp +++ b/indra/newview/llappcorehttp.cpp @@ -85,7 +85,9 @@ void LLAppCoreHttp::init() // 1 - Basic start, stop simple transitions // 2 - libcurl CURLOPT_VERBOSE mode with brief lines // 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 mPolicyDefault = LLCore::HttpRequest::DEFAULT_POLICY_ID; |