summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpoptions.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-19 17:01:02 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-19 17:01:02 -0400
commita50944e078b98435685f04eda0ba93e95d4c61f2 (patch)
treec49f2b0b40de767b94beea0bf3ea098c6af382ab /indra/llcorehttp/httpoptions.cpp
parentf0353abe7605778048d69ce3acb8f5ddd5693083 (diff)
Cleanup: move magic nubmers to new _httpinternal.h header file.
Diffstat (limited to 'indra/llcorehttp/httpoptions.cpp')
-rw-r--r--indra/llcorehttp/httpoptions.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/llcorehttp/httpoptions.cpp b/indra/llcorehttp/httpoptions.cpp
index c11d89e619..f2771c1f29 100644
--- a/indra/llcorehttp/httpoptions.cpp
+++ b/indra/llcorehttp/httpoptions.cpp
@@ -26,6 +26,8 @@
#include "httpoptions.h"
+#include "_httpinternal.h"
+
namespace LLCore
{
@@ -34,9 +36,9 @@ namespace LLCore
HttpOptions::HttpOptions()
: RefCounted(true),
mWantHeaders(false),
- mTracing(0),
- mTimeout(30),
- mRetries(5)
+ mTracing(TRACE_OFF),
+ mTimeout(DEFAULT_TIMEOUT),
+ mRetries(DEFAULT_RETRY_COUNT)
{}