From 47576ad1f77ecbe606fa1bd3addac610fad43dd7 Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 19 Jan 2007 00:39:03 +0000 Subject: SL-32769 Scripts now reliably register to receive email on region startup, we establish trust between dataserver and simulator explicitly on startup, reviewed by Kelly. --- indra/llmessage/message.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'indra') diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp index 73cda52fa0..f849e989b4 100644 --- a/indra/llmessage/message.cpp +++ b/indra/llmessage/message.cpp @@ -3232,10 +3232,16 @@ void LLMessageSystem::logMsgFromInvalidCircuit( const LLHost& host, BOOL recv_re void LLMessageSystem::logTrustedMsgFromUntrustedCircuit( const LLHost& host ) { - llwarns << "Recieved trusted message on untrusted circuit. " - << "Will reply with deny. " - << "Message: " << mCurrentRMessageTemplate->mName - << " Host: " << host << llendl; + // RequestTrustedCircuit is how we establish trust, so don't spam + // if it's received on a trusted circuit. JC + if (strcmp(mCurrentRMessageTemplate->mName, "RequestTrustedCircuit")) + { + llwarns << "Received trusted message on untrusted circuit. " + << "Will reply with deny. " + << "Message: " << mCurrentRMessageTemplate->mName + << " Host: " << host << llendl; + } + if (mNumMessageCounts >= MAX_MESSAGE_COUNT_NUM) { llwarns << "got more than " << MAX_MESSAGE_COUNT_NUM -- cgit v1.2.3