* Added a sanity check to GetScriptAssemblies() and GetScriptStates() for the case where no scripting engine is enabled

* Added TokenBucket.cs to OpenSim, with some fixes for setting a more accurate MaxBurst value and getting a more accurate Content value (by Drip()ing each get)
This commit is contained in:
John Hurliman
2009-10-20 18:19:17 -07:00
parent 1833c69568
commit 45dc4e0a54
5 changed files with 235 additions and 10 deletions

View File

@@ -147,6 +147,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
int now = Environment.TickCount;
foreach (OutgoingPacket packet in packets.Values)
{
// TickCount of zero means a packet is in the resend queue
// but hasn't actually been sent over the wire yet
if (packet.TickCount == 0)
continue;