summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorRobert Knop <prospero@lindenlab.com>2008-12-04 22:36:34 +0000
committerRobert Knop <prospero@lindenlab.com>2008-12-04 22:36:34 +0000
commit189599b6ff0c4e6b81e761fbc990c057189359f2 (patch)
tree1e9e0e91bae9bb1ee53e57ac91cdbbfc9f6dba95 /indra/newview/llstartup.cpp
parentfd46865a502036b9e4414e7ec4950faf551b1f14 (diff)
Merging from server/server-1.25 back to trunk.
svn merge -r99446:104838 svn+ssh://svn.lindenlab.com/svn/linden/branches/server/server-1.25 Conflicts resolved by Prospero, except for one scary conflict in SendConfirmationEmail.php which was resolved by jarv.
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 21af491408..ca310cf8e4 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -478,6 +478,14 @@ bool idle_startup()
}
LLHTTPSender::setDefaultSender(new LLNullHTTPSender());
+
+ // TODO parameterize
+ const F32 circuit_heartbeat_interval = 5;
+ const F32 circuit_timeout = 100;
+
+ const LLUseCircuitCodeResponder* responder = NULL;
+ bool failure_is_fatal = true;
+
if(!start_messaging_system(
message_template_path,
port,
@@ -485,7 +493,11 @@ bool idle_startup()
LL_VERSION_MINOR,
LL_VERSION_PATCH,
FALSE,
- std::string()))
+ std::string(),
+ responder,
+ failure_is_fatal,
+ circuit_heartbeat_interval,
+ circuit_timeout))
{
std::string msg = LLTrans::getString("LoginFailedNoNetwork");
msg.append(llformat(" Error: %d", gMessageSystem->getErrorCode()));