From e9cef70f892bfbf4aad0e4471a958367766d849a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 3 Jan 2009 03:30:03 +0000 Subject: * Updates the sim stats module. Cleans out some of the rot. * Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe. * Adds Prototype for ajaxy web content * removed a warning or two. --- OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index a698d41..29cfd99 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs @@ -603,10 +603,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP public void Flush() { m_PacketQueue.Flush(); + m_UnackedBytes = (-1 * m_UnackedBytes); + SendPacketStats(); } public void Clear() { + m_UnackedBytes = (-1 * m_UnackedBytes); + SendPacketStats(); m_NeedAck.Clear(); m_PendingAcks.Clear(); m_Sequence += 1000000; -- cgit v1.1