aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llcircuit.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/llcircuit.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llmessage/llcircuit.cpp')
-rw-r--r--linden/indra/llmessage/llcircuit.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/linden/indra/llmessage/llcircuit.cpp b/linden/indra/llmessage/llcircuit.cpp
index 7b369cb..12a1520 100644
--- a/linden/indra/llmessage/llcircuit.cpp
+++ b/linden/indra/llmessage/llcircuit.cpp
@@ -184,7 +184,7 @@ LLCircuitData::~LLCircuitData()
184 std::ostream_iterator<TPACKETID> append(str, " "); 184 std::ostream_iterator<TPACKETID> append(str, " ");
185 str << "MSG: -> " << mHost << "\tABORTING RELIABLE:\t"; 185 str << "MSG: -> " << mHost << "\tABORTING RELIABLE:\t";
186 std::copy(doomed.begin(), doomed.end(), append); 186 std::copy(doomed.begin(), doomed.end(), append);
187 llinfos << str.str().c_str() << llendl; 187 llinfos << str.str() << llendl;
188 } 188 }
189} 189}
190 190
@@ -204,7 +204,7 @@ void LLCircuitData::ackReliablePacket(TPACKETID packet_num)
204 std::ostringstream str; 204 std::ostringstream str;
205 str << "MSG: <- " << packetp->mHost << "\tRELIABLE ACKED:\t" 205 str << "MSG: <- " << packetp->mHost << "\tRELIABLE ACKED:\t"
206 << packetp->mPacketID; 206 << packetp->mPacketID;
207 llinfos << str.str().c_str() << llendl; 207 llinfos << str.str() << llendl;
208 } 208 }
209 if (packetp->mCallback) 209 if (packetp->mCallback)
210 { 210 {
@@ -238,7 +238,7 @@ void LLCircuitData::ackReliablePacket(TPACKETID packet_num)
238 std::ostringstream str; 238 std::ostringstream str;
239 str << "MSG: <- " << packetp->mHost << "\tRELIABLE ACKED:\t" 239 str << "MSG: <- " << packetp->mHost << "\tRELIABLE ACKED:\t"
240 << packetp->mPacketID; 240 << packetp->mPacketID;
241 llinfos << str.str().c_str() << llendl; 241 llinfos << str.str() << llendl;
242 } 242 }
243 if (packetp->mCallback) 243 if (packetp->mCallback)
244 { 244 {
@@ -342,7 +342,7 @@ S32 LLCircuitData::resendUnackedPackets(const F64 now)
342 std::ostringstream str; 342 std::ostringstream str;
343 str << "MSG: -> " << packetp->mHost 343 str << "MSG: -> " << packetp->mHost
344 << "\tRESENDING RELIABLE:\t" << packetp->mPacketID; 344 << "\tRESENDING RELIABLE:\t" << packetp->mPacketID;
345 llinfos << str.str().c_str() << llendl; 345 llinfos << str.str() << llendl;
346 } 346 }
347 347
348 packetp->mBuffer[0] |= LL_RESENT_FLAG; // tag packet id as being a resend 348 packetp->mBuffer[0] |= LL_RESENT_FLAG; // tag packet id as being a resend
@@ -403,7 +403,7 @@ S32 LLCircuitData::resendUnackedPackets(const F64 now)
403 std::ostringstream str; 403 std::ostringstream str;
404 str << "MSG: -> " << packetp->mHost << "\tABORTING RELIABLE:\t" 404 str << "MSG: -> " << packetp->mHost << "\tABORTING RELIABLE:\t"
405 << packetp->mPacketID; 405 << packetp->mPacketID;
406 llinfos << str.str().c_str() << llendl; 406 llinfos << str.str() << llendl;
407 } 407 }
408 408
409 if (packetp->mCallback) 409 if (packetp->mCallback)
@@ -710,7 +710,7 @@ void LLCircuitData::checkPacketInID(TPACKETID id, BOOL receive_resent)
710 { 710 {
711 std::ostringstream str; 711 std::ostringstream str;
712 str << "MSG: <- " << mHost << "\tRECOVERING LOST:\t" << id; 712 str << "MSG: <- " << mHost << "\tRECOVERING LOST:\t" << id;
713 llinfos << str.str().c_str() << llendl; 713 llinfos << str.str() << llendl;
714 } 714 }
715 // llinfos << "removing potential lost: " << id << llendl; 715 // llinfos << "removing potential lost: " << id << llendl;
716 mPotentialLostPackets.erase(id); 716 mPotentialLostPackets.erase(id);
@@ -729,7 +729,7 @@ void LLCircuitData::checkPacketInID(TPACKETID id, BOOL receive_resent)
729 std::ostringstream str; 729 std::ostringstream str;
730 str << "MSG: <- " << mHost << "\tPACKET GAP:\t" 730 str << "MSG: <- " << mHost << "\tPACKET GAP:\t"
731 << index; 731 << index;
732 llinfos << str.str().c_str() << llendl; 732 llinfos << str.str() << llendl;
733 } 733 }
734 734
735// llinfos << "adding potential lost: " << index << llendl; 735// llinfos << "adding potential lost: " << index << llendl;
@@ -747,7 +747,7 @@ void LLCircuitData::checkPacketInID(TPACKETID id, BOOL receive_resent)
747 std::ostringstream str; 747 std::ostringstream str;
748 str << "MSG: <- " << mHost << "\tPACKET GAP:\t" 748 str << "MSG: <- " << mHost << "\tPACKET GAP:\t"
749 << id << " expected " << index; 749 << id << " expected " << index;
750 llinfos << str.str().c_str() << llendl; 750 llinfos << str.str() << llendl;
751 } 751 }
752 } 752 }
753 753
@@ -969,7 +969,7 @@ BOOL LLCircuitData::updateWatchDogTimers(LLMessageSystem *msgsys)
969 std::ostringstream str; 969 std::ostringstream str;
970 str << "MSG: <- " << mHost << "\tLOST PACKET:\t" 970 str << "MSG: <- " << mHost << "\tLOST PACKET:\t"
971 << (*it).first; 971 << (*it).first;
972 llinfos << str.str().c_str() << llendl; 972 llinfos << str.str() << llendl;
973 } 973 }
974 mPotentialLostPackets.erase(it++); 974 mPotentialLostPackets.erase(it++);
975 } 975 }
@@ -1114,7 +1114,7 @@ void LLCircuit::sendAcks()
1114 str << "MSG: -> " << cd->mHost << "\tPACKET ACKS:\t"; 1114 str << "MSG: -> " << cd->mHost << "\tPACKET ACKS:\t";
1115 std::ostream_iterator<TPACKETID> append(str, " "); 1115 std::ostream_iterator<TPACKETID> append(str, " ");
1116 std::copy(cd->mAcks.begin(), cd->mAcks.end(), append); 1116 std::copy(cd->mAcks.begin(), cd->mAcks.end(), append);
1117 llinfos << str.str().c_str() << llendl; 1117 llinfos << str.str() << llendl;
1118 } 1118 }
1119 1119
1120 // empty out the acks list 1120 // empty out the acks list